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-09-25 11:47:11 -07:00 committed by Facebook Github Bot
parent 0a04bb7030
commit 59aada873e
3 changed files with 2 additions and 12 deletions

View File

@ -112,9 +112,7 @@ public class ReactRootView extends SizeMonitoringFrameLayout
}
private void init() {
if (!ViewProps.sDefaultOverflowHidden) {
setClipChildren(false);
}
setClipChildren(false);
}
@Override

View File

@ -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)

View File

@ -115,10 +115,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);
}