Commit fcf6967
Minimize EditText Spans 6/9: letterSpacing (facebook#36548)
Summary:
Pull Request resolved: facebook#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]( facebook#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: 3ebcba4a5d89b156073de142cd4078b576f1b5241 parent b0c0ecb commit fcf6967
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 | | |
| |||
780 | 792 | | |
781 | 793 | | |
782 | 794 | | |
| 795 | + | |
| 796 | + | |
| 797 | + | |
| 798 | + | |
| 799 | + | |
| 800 | + | |
| 801 | + | |
783 | 802 | | |
784 | 803 | | |
785 | 804 | | |
| |||
1137 | 1156 | | |
1138 | 1157 | | |
1139 | 1158 | | |
1140 | | - | |
| 1159 | + | |
| 1160 | + | |
| 1161 | + | |
1141 | 1162 | | |
1142 | 1163 | | |
1143 | 1164 | | |
| |||
0 commit comments