mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
Ensure elevated views are not changing drawing order
Summary: Uses `enableZ` trick to ensure that Skia doesn't try to reorder the views based on elevation. Unfortunately, it only helps for some cases, but the proper fix would require reimplementing `ViewGroup` completely to remove its internal logic of reordering based on Z coordinate. Changelog: [Android][Fixed] Ensure elevated views are behind sticky header in FlatList Reviewed By: cortinico Differential Revision: D30700566 fbshipit-source-id: d2c59b22332922c610f4f2d415df34e81f5a33c5
This commit is contained in:
committed by
Facebook GitHub Bot
parent
4e8da9b28f
commit
4090195122
@@ -95,4 +95,6 @@ public class ReactFeatureFlags {
|
||||
public static boolean enableLockFreeEventDispatcher = false;
|
||||
|
||||
public static boolean enableAggressiveEventEmitterCleanup = false;
|
||||
|
||||
public static boolean insertZReorderBarriersOnViewGroupChildren = true;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user