Commit b14713d
Minimize EditText Spans 7/9: Avoid temp list (#36576)
Summary:
Pull Request resolved: #36576
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 addresses some minor CR feedback and removes the temporary list of spans in favor of applying them directly.
Changelog:
[Internal]
Reviewed By: javache
Differential Revision: D44295190
fbshipit-source-id: 243c40b1062d470e44e6c59df2f2146d850fbcd81 parent 786acf4 commit b14713d
File tree
1 file changed
+17
-11
lines changed- packages/react-native/ReactAndroid/src/main/java/com/facebook/react/views/textinput
1 file changed
+17
-11
lines changedLines changed: 17 additions & 11 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
775 | 775 | | |
776 | 776 | | |
777 | 777 | | |
778 | | - | |
779 | | - | |
780 | | - | |
| 778 | + | |
| 779 | + | |
| 780 | + | |
| 781 | + | |
| 782 | + | |
| 783 | + | |
| 784 | + | |
| 785 | + | |
781 | 786 | | |
782 | 787 | | |
783 | 788 | | |
784 | | - | |
| 789 | + | |
| 790 | + | |
785 | 791 | | |
786 | 792 | | |
787 | 793 | | |
788 | | - | |
| 794 | + | |
789 | 795 | | |
790 | 796 | | |
791 | 797 | | |
792 | | - | |
| 798 | + | |
793 | 799 | | |
794 | 800 | | |
795 | 801 | | |
796 | 802 | | |
797 | 803 | | |
798 | | - | |
| 804 | + | |
| 805 | + | |
| 806 | + | |
| 807 | + | |
| 808 | + | |
799 | 809 | | |
800 | 810 | | |
801 | | - | |
802 | | - | |
803 | | - | |
804 | | - | |
805 | 811 | | |
806 | 812 | | |
807 | 813 | | |
| |||
0 commit comments