Commit 2d15f50
Fix Android border clip check (#37828)
Summary:
Instead of requiring all types of border color values to be present we should only take into consideration the left, top, right, bottom, and allEdges values and inject block values into colorBottom and colorTop.
This PR only addresses the first issue described here (#37753 (comment)) by kelset
## Changelog:
[ANDROID] [FIXED] - Fix border clip check
Pull Request resolved: #37828
Test Plan:
Test through rn-tester if border color is being applied
<img width="482" alt="image" src="https://github.com/facebook/react-native/assets/11707729/c8c8772c-da8d-4393-bc3f-5868eca5df15">
Reviewed By: lunaleaps
Differential Revision: D46643773
Pulled By: cipolleschi
fbshipit-source-id: efb1ea81bf2462c14767a2554880eb7c449899751 parent 2760042 commit 2d15f50
1 file changed
Lines changed: 13 additions & 4 deletions
File tree
- packages/react-native/ReactAndroid/src/main/java/com/facebook/react/views/view
Lines changed: 13 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
567 | 567 | | |
568 | 568 | | |
569 | 569 | | |
| 570 | + | |
570 | 571 | | |
571 | 572 | | |
572 | 573 | | |
573 | 574 | | |
| 575 | + | |
| 576 | + | |
| 577 | + | |
| 578 | + | |
| 579 | + | |
| 580 | + | |
| 581 | + | |
| 582 | + | |
| 583 | + | |
| 584 | + | |
| 585 | + | |
574 | 586 | | |
575 | 587 | | |
576 | 588 | | |
577 | 589 | | |
578 | 590 | | |
579 | | - | |
580 | | - | |
581 | | - | |
582 | | - | |
| 591 | + | |
583 | 592 | | |
584 | 593 | | |
585 | 594 | | |
| |||
0 commit comments