mirror of
https://github.com/status-im/react-native.git
synced 2025-01-30 03:05:44 +00:00
Fix RTCText incorrectly clipping its background
Summary: Wrong order or top/right -> right/top means that clipping can be incorrect. I didn't notice it because visual result in many cases would still be the same (especially with overflow: visible being default and clipping being mostly disabled). Also only background was clipped incorrectly, and most texts don't have a background. Reviewed By: ahmedre Differential Revision: D2816432
This commit is contained in:
parent
03637dc70d
commit
c43d8409c0
@ -157,8 +157,8 @@ import com.facebook.react.uimanager.ViewProps;
|
||||
right,
|
||||
bottom,
|
||||
clipLeft,
|
||||
clipRight,
|
||||
clipTop,
|
||||
clipRight,
|
||||
clipBottom);
|
||||
|
||||
if (mText == null) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user