Commit 5791cf1
Minimize EditText Spans 6/9: letterSpacing (#36548)
Summary:
Pull Request resolved: #36548
This is part of a series of changes to minimize the number of spans committed to EditText, as a mitigation for platform issues on Samsung devices. See this [GitHub thread]( #35936 (comment)) for greater context on the platform behavior.
This change lets us set `letterSpacing` on the EditText instead of using our custom span.
Changelog:
[Android][Fixed] - Minimize EditText Spans 6/N: letterSpacing
Reviewed By: rshest
Differential Revision: D44240777
fbshipit-source-id: 9bd10c3261257037d8cacf37971011aaa94d1a771 parent 0869ea2 commit 5791cf1
File tree
2 files changed
+26
-1
lines changed- packages/react-native/ReactAndroid/src/main/java/com/facebook/react/views
- textinput
- text
2 files changed
+26
-1
lines changedLines changed: 4 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
37 | 37 | | |
38 | 38 | | |
39 | 39 | | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
40 | 44 | | |
41 | 45 | | |
42 | 46 | | |
| |||
Lines changed: 22 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
726 | 726 | | |
727 | 727 | | |
728 | 728 | | |
| 729 | + | |
| 730 | + | |
| 731 | + | |
| 732 | + | |
| 733 | + | |
| 734 | + | |
| 735 | + | |
| 736 | + | |
| 737 | + | |
| 738 | + | |
| 739 | + | |
| 740 | + | |
729 | 741 | | |
730 | 742 | | |
731 | 743 | | |
| |||
767 | 779 | | |
768 | 780 | | |
769 | 781 | | |
| 782 | + | |
| 783 | + | |
| 784 | + | |
| 785 | + | |
| 786 | + | |
| 787 | + | |
| 788 | + | |
770 | 789 | | |
771 | 790 | | |
772 | 791 | | |
| |||
1124 | 1143 | | |
1125 | 1144 | | |
1126 | 1145 | | |
1127 | | - | |
| 1146 | + | |
| 1147 | + | |
| 1148 | + | |
1128 | 1149 | | |
1129 | 1150 | | |
1130 | 1151 | | |
| |||
0 commit comments