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:
Andrew Chen (Eng)
2018-10-02 14:18:12 +02:00
committed by Mike Grabowski
parent 5627616e3f
commit f1fabe5752
3 changed files with 2 additions and 12 deletions
@@ -112,9 +112,7 @@ public class ReactRootView extends SizeMonitoringFrameLayout
}
private void init() {
if (!ViewProps.sDefaultOverflowHidden) {
setClipChildren(false);
}
setClipChildren(false);
}
@Override
@@ -17,11 +17,6 @@ import java.util.HashSet;
*/
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";
// Layout only (only affect positions of children, causes no drawing)
@@ -116,10 +116,7 @@ public class ReactViewGroup extends ViewGroup implements
public ReactViewGroup(Context context) {
super(context);
// TODO: Remove this check after a couple public releases.
if (!ViewProps.sDefaultOverflowHidden) {
setClipChildren(false);
}
setClipChildren(false);
mDrawingOrderHelper = new ViewGroupDrawingOrderHelper(this);
}