Skip to content

CSS zIndex behavior on native with non-flexbox #100

Open
@necolas

Description

Describe the issue

React Native assumes only display:flex. When we try to emulate display:block (not supported on native) and the default of position:static, React Native will not ignore zIndex. 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

Metadata

Assignees

No one assigned

    Labels

    bug: react-nativeA bug that originates in React Nativecannot polyfillThis feature cannot be polyfilled for native

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions