Skip to content

zIndex isn't working #18234

Closed
Closed
@ethanyuwang

Description

@ethanyuwang

(Describe your issue in detail.)

Environment

Environment:
OS: macOS High Sierra 10.13.1
Node: 8.9.4
Yarn: Not Found
npm: 5.6.0
Watchman: 4.9.0
Xcode: Xcode 9.2 Build version 9C40b
Android Studio: 3.0 AI-171.4443003

Packages: (wanted => installed)
react: 16.2.0 => 16.2.0
react-native: 0.53.0 => 0.53.0

Expected Behavior

The top card should overlay on top of the bottom card.

Actual Behavior

The top card starts below the bottom card, as zIndex has no effect
screen shot 2018-03-06 at 4 15 25 pm

Steps to Reproduce

I defined a top card with zIndex of 1, and the other card with zIndex of 0. However, the top card simply
renders below the bottom card, with no overlap.

https://snack.expo.io/@ethanyuwang/zindex

Metadata

Metadata

Assignees

No one assigned

    Labels

    Ran CommandsOne of our bots successfully processed a command.Resolution: For Stack OverflowA question for Stack Overflow. Applying this label will cause issue to be closed.Resolution: LockedThis issue was locked by the bot.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions