Commit e89d23c
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 ba4c2f5 commit e89d23c
2 files changed
Lines changed: 26 additions & 1 deletion
File tree
- ReactAndroid/src/main/java/com/facebook/react/views
- textinput
- text
Lines 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 | | |
| |||
1119 | 1138 | | |
1120 | 1139 | | |
1121 | 1140 | | |
1122 | | - | |
| 1141 | + | |
| 1142 | + | |
| 1143 | + | |
1123 | 1144 | | |
1124 | 1145 | | |
1125 | 1146 | | |
| |||
0 commit comments