mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
Ship insertZReorderBarriersOnViewGroupChildren
Summary: Ship insertZReorderBarriersOnViewGroupChildren changelog: [internal] internal Reviewed By: makovkastar Differential Revision: D40403388 fbshipit-source-id: bf13f6a7af92c0c4fd3377a547a56b163dfe29ed
This commit is contained in:
committed by
Facebook GitHub Bot
parent
9578c2cadf
commit
8eebc931bc
@@ -82,8 +82,6 @@ public class ReactFeatureFlags {
|
||||
/** Feature Flag to use overflowInset values provided by Yoga */
|
||||
public static boolean useOverflowInset = false;
|
||||
|
||||
public static boolean insertZReorderBarriersOnViewGroupChildren = true;
|
||||
|
||||
public static boolean dispatchPointerEvents = false;
|
||||
|
||||
/** Feature Flag to enable the pending event queue in fabric before mounting views */
|
||||
|
||||
@@ -33,7 +33,6 @@ import com.facebook.react.bridge.ReactNoCrashSoftException;
|
||||
import com.facebook.react.bridge.ReactSoftExceptionLogger;
|
||||
import com.facebook.react.bridge.UiThreadUtil;
|
||||
import com.facebook.react.common.annotations.VisibleForTesting;
|
||||
import com.facebook.react.config.ReactFeatureFlags;
|
||||
import com.facebook.react.modules.i18nmanager.I18nUtil;
|
||||
import com.facebook.react.touch.OnInterceptTouchEventListener;
|
||||
import com.facebook.react.touch.ReactHitSlopView;
|
||||
@@ -828,8 +827,7 @@ public class ReactViewGroup extends ViewGroup
|
||||
|
||||
@Override
|
||||
protected boolean drawChild(Canvas canvas, View child, long drawingTime) {
|
||||
boolean drawWithZ =
|
||||
child.getElevation() > 0 && ReactFeatureFlags.insertZReorderBarriersOnViewGroupChildren;
|
||||
boolean drawWithZ = child.getElevation() > 0;
|
||||
|
||||
if (drawWithZ) {
|
||||
CanvasUtil.enableZ(canvas, true);
|
||||
|
||||
Reference in New Issue
Block a user