android: disable setClipChildren(false) until RN ART issue is resolved

Summary:
It looks like for some reason when ReactViewGroup uses setClipChildren(false), the ReactNativeARTSurface no longer redraws when its width is expanded.

Disable this new overflow behavior until the underlying issue is fixed.

Reviewed By: achen1

Differential Revision: D8739003

fbshipit-source-id: ffae0e3eb0cd8ce385eae33a87b5ba0325cae3c4
This commit is contained in:
Kevin Gozali authored and Facebook Github Bot committed 2018-07-05 14:02:45 -07:00
1 parent 5067540487
commit fff43614aa
1 file changed
+2 -1
@@ -51,8 +51,9 @@ public class ReactViewGroup extends ViewGroup implements
/**
* Kill switch to make overflow hidden by default. This flag will eventually be removed.
* TODO (T31096050): Sets this back to `false` until ReactNativeARTSurface issue is resolved.
*/
public static boolean sDefaultOverflowHidden;
public static boolean sDefaultOverflowHidden = true;
private static final int ARRAY_CAPACITY_INCREMENT = 12;
private static final int DEFAULT_BACKGROUND_COLOR = Color.TRANSPARENT;