Commit 2f7e8f3
authored
Implements backgroundColor for Fabric's TextInput (#12079)
* Render background color on Text
Applies a fill rect to the composition visual
Fixes #11763
* Change files
* Protect color conversions from empty values
* Apply scale factor to fill rect
* Remove unneded ViewProps alias
* Render background color on Text
Applies a fill rect to the composition visual
Fixes #11763
* Change files
* Protect color conversions from empty values
* Apply scale factor to fill rect
* Remove unneded ViewProps alias
* Use isColorMeaningful1 parent 9364315 commit 2f7e8f3
File tree
3 files changed
+30
-11
lines changed- change
- vnext/Microsoft.ReactNative/Fabric
- Composition/TextInput
- platform/react/renderer/graphics
3 files changed
+30
-11
lines changedLines changed: 7 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
Lines changed: 17 additions & 11 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
340 | 340 | | |
341 | 341 | | |
342 | 342 | | |
| 343 | + | |
343 | 344 | | |
344 | | - | |
345 | 345 | | |
346 | 346 | | |
347 | 347 | | |
| |||
643 | 643 | | |
644 | 644 | | |
645 | 645 | | |
| 646 | + | |
| 647 | + | |
| 648 | + | |
| 649 | + | |
646 | 650 | | |
647 | 651 | | |
648 | 652 | | |
| |||
693 | 697 | | |
694 | 698 | | |
695 | 699 | | |
696 | | - | |
697 | | - | |
698 | | - | |
699 | | - | |
700 | | - | |
701 | | - | |
702 | | - | |
703 | | - | |
704 | | - | |
705 | | - | |
706 | 700 | | |
707 | 701 | | |
708 | 702 | | |
| |||
1053 | 1047 | | |
1054 | 1048 | | |
1055 | 1049 | | |
| 1050 | + | |
| 1051 | + | |
| 1052 | + | |
| 1053 | + | |
| 1054 | + | |
| 1055 | + | |
| 1056 | + | |
| 1057 | + | |
| 1058 | + | |
| 1059 | + | |
| 1060 | + | |
| 1061 | + | |
1056 | 1062 | | |
1057 | 1063 | | |
1058 | 1064 | | |
| |||
Lines changed: 6 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
144 | 144 | | |
145 | 145 | | |
146 | 146 | | |
| 147 | + | |
| 148 | + | |
| 149 | + | |
147 | 150 | | |
148 | 151 | | |
149 | 152 | | |
150 | 153 | | |
151 | 154 | | |
| 155 | + | |
| 156 | + | |
| 157 | + | |
152 | 158 | | |
153 | 159 | | |
154 | 160 | | |
| |||
0 commit comments