mirror of
https://github.com/status-im/react-native.git
synced 2025-02-22 14:18:23 +00:00
Remove overflow hidden killswitch
Summary: There hasn't been any reports of overflow issues since the last issue was fixed in v183 (July 30th). Let's remove this flag Reviewed By: yungsters Differential Revision: D10020006 fbshipit-source-id: 593c7d2c2bef5f0bd60d5de1941cd58f7fd6ccc7
This commit is contained in:
parent
0a04bb7030
commit
59aada873e
@ -112,9 +112,7 @@ public class ReactRootView extends SizeMonitoringFrameLayout
|
|||||||
}
|
}
|
||||||
|
|
||||||
private void init() {
|
private void init() {
|
||||||
if (!ViewProps.sDefaultOverflowHidden) {
|
setClipChildren(false);
|
||||||
setClipChildren(false);
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
@ -17,11 +17,6 @@ import java.util.HashSet;
|
|||||||
*/
|
*/
|
||||||
public class ViewProps {
|
public class ViewProps {
|
||||||
|
|
||||||
/**
|
|
||||||
* Kill switch to make overflow hidden by default. This flag will eventually be removed.
|
|
||||||
*/
|
|
||||||
public static boolean sDefaultOverflowHidden;
|
|
||||||
|
|
||||||
public static final String VIEW_CLASS_NAME = "RCTView";
|
public static final String VIEW_CLASS_NAME = "RCTView";
|
||||||
|
|
||||||
// Layout only (only affect positions of children, causes no drawing)
|
// Layout only (only affect positions of children, causes no drawing)
|
||||||
|
@ -115,10 +115,7 @@ public class ReactViewGroup extends ViewGroup implements
|
|||||||
|
|
||||||
public ReactViewGroup(Context context) {
|
public ReactViewGroup(Context context) {
|
||||||
super(context);
|
super(context);
|
||||||
// TODO: Remove this check after a couple public releases.
|
setClipChildren(false);
|
||||||
if (!ViewProps.sDefaultOverflowHidden) {
|
|
||||||
setClipChildren(false);
|
|
||||||
}
|
|
||||||
mDrawingOrderHelper = new ViewGroupDrawingOrderHelper(this);
|
mDrawingOrderHelper = new ViewGroupDrawingOrderHelper(this);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user