There are a lot of cases when this would be helpful.
1) video player (changing orientation)
2) android spinner
For reference: https://github.com/facebook/react-native/issues/1076
3) drag and drop
Other issue for reference: https://github.com/facebook/react-native/issues/698
Started making a drag and drop library, This is a real pain. This is definitely a justifiable reason for some form of zIndex support .
Using list with shadow. the latter list item has higher z index so it cast shadow over the previous one. While that might be desirable in some case, but it probably makes more sense if the higher order one should cast shadow on the next one.
Doing some drag and drop code. Working around the lack of zindex support require super hacky code. If not for this issue I could animate a panning object very straightforwardly, because of this I have to yank it out of its place on the page and render it at the very bottom of the page and then set offsets so that it renders back up where it's supposed to go.
I've also got a case where this feature lacks. A list view of video autoplaying that goes full screen when you tap on it. Really difficult to do without z-indexing the video currently playing :)
Unable to create overlay menu's / dropdowns.
Implementing material design elements on IOS is hard without this...
Submitted a PR for this :)
Support for this has landed on iOS: https://github.com/facebook/react-native/commit/d64368b9e239b574039f4a6508bf2aeb0806121b
Bravo! Any plans for Android?
Android please :))
@dcworldwide: It's in master :) It'll be landing in v0.30
@Tucker Connelly Looks like it landed in master after the 0.30 branch was cut (the branch is cut two weeks before release, to allow people to report bugs in the RC). It will be in 0.31.
Coming to Android in the next release (0.31), yay!
We can mark this as complete now, since it's in v0.30.0 https://github.com/facebook/react-native/releases/tag/v0.30.0
Seems to be fixed
This was fixed, yay! Forgot to close :)
Hi thanks for the work, yet this issue is still open here :)