mirror of
https://github.com/zhigang1992/react-native.git
synced 2026-04-07 17:37:34 +08: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:
committed by
Ahmed El-Helw
parent
03637dc70d
commit
c43d8409c0
@@ -157,8 +157,8 @@ import com.facebook.react.uimanager.ViewProps;
|
||||
right,
|
||||
bottom,
|
||||
clipLeft,
|
||||
clipRight,
|
||||
clipTop,
|
||||
clipRight,
|
||||
clipBottom);
|
||||
|
||||
if (mText == null) {
|
||||
|
||||
Reference in New Issue
Block a user