Repository navigation
Commit b2ab644
Fix font-scale invalidation for mounted text inputs (#59492)
Summary:
Pull Request resolved: #59492
Restart ancestor invalidation when a measurable clone was already dirtied before it had an owner. Correct the default and capped TextInput expectations from stale cached bounds to the bounds of a fresh mount at the expected scale.
Changelog: [General][Fixed] - Remeasure text inputs after font scale changes when parent layout constraints are unchanged.
Reviewed By: christophpurrer
Differential Revision: D1275719721 parent 4251882 commit b2ab644
2 files changed
Lines changed: 4 additions & 4 deletions
File tree
- packages/react-native
- Libraries/Text/__tests__
- ReactCommon/react/renderer/components/view
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
24 | 24 | | |
25 | 25 | | |
26 | 26 | | |
27 | | - | |
28 | | - | |
| 27 | + | |
29 | 28 | | |
30 | 29 | | |
31 | 30 | | |
| |||
39 | 38 | | |
40 | 39 | | |
41 | 40 | | |
42 | | - | |
43 | | - | |
| 41 | + | |
44 | 42 | | |
45 | 43 | | |
46 | 44 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
508 | 508 | | |
509 | 509 | | |
510 | 510 | | |
| 511 | + | |
| 512 | + | |
511 | 513 | | |
512 | 514 | | |
513 | 515 | | |
| |||
0 commit comments