Repository navigation
Commit dab4cf1
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 e205640 commit dab4cf1
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 | |
|---|---|---|---|
| |||
25 | 25 | | |
26 | 26 | | |
27 | 27 | | |
28 | | - | |
29 | | - | |
| 28 | + | |
30 | 29 | | |
31 | 30 | | |
32 | 31 | | |
| |||
40 | 39 | | |
41 | 40 | | |
42 | 41 | | |
43 | | - | |
44 | | - | |
| 42 | + | |
45 | 43 | | |
46 | 44 | | |
47 | 45 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
564 | 564 | | |
565 | 565 | | |
566 | 566 | | |
| 567 | + | |
| 568 | + | |
567 | 569 | | |
568 | 570 | | |
569 | 571 | | |
| |||
0 commit comments