mirror of
https://github.com/status-im/react-native.git
synced 2025-02-26 08:05:34 +00:00
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:
parent
5067540487
commit
fff43614aa
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user