CSS zIndex behavior on native with non-flexbox #100
Labels
bug: react-native
A bug that originates in React Native
cannot polyfill
This feature cannot be polyfilled for native
Describe the issue
React Native assumes only
display:flex
. When we try to emulatedisplay:block
(not supported on native) and the default ofposition:static
, React Native will not ignorezIndex
. This can result in layout stacking differences between web and native.Expected behavior
zIndex
should be ignored for non-flex elements that are statically positioned.Steps to reproduce
See description
Test case
No response
Additional comments
No response
The text was updated successfully, but these errors were encountered: