React-native-navigation: Question : How to get the left drawer to render over overlays?

Created on 8 Oct 2020  路  8Comments  路  Source: wix/react-native-navigation

Issue Description

My app has a left drawer and an overlay.

On Android (did not test yet on iOS), if I open the left drawer, the overlay that was already open before is render over the drawer.

How can I have the drawer to be over the overlay?

Steps to Reproduce / Code Snippets / Screenshots

1 - SetRoot with a left drawer.
2 - right after setRoot, show an overlay

3 - when using your app, open the drawer. The overlay is rendered over the drawer on Android. I would like the contrary.

Environment

  • React Native Navigation version: 7.1.0
  • React Native version: 0.63.3
  • Platform(s) (iOS, Android, or both?): tested on android
  • Device info (Simulator/Device? OS version? Debug/Release?): device and simulator, Android 10
Android iOS accepteenhancement

All 8 comments

@guyca sorry to bother you but I'm sure you have the answer to this question...

We use the issue tracker exclusively for bug reports and feature requests. This issue appears to be a general usage or support question. Instead, please ask a question on Stack Overflow with the wix-react-native-navigation tag.

How logical and senseful it is to tag a question "stackoverflow", close it without any answer to the original issue and send it far away from this repo (where obviously we have most users of the lib that could help)... I really do not get it.

@zabojad The behavior you're observing on Android isn't by design. We'll implement this feature this quarter.

Thank you @guyca for your attention. Should I open another issue so that you keep track of this or will you manage it yourself?

@guyca just in case it accelerate the resolution, here is a reproducer: https://github.com/zabojad/react-native-navigation/tree/issue_6656

It happens actually on both Android and iOS.

I have the feeling that there should actually be an option for choosing if the overlay should render over the drawer or not...

We'll add the ability to attach Overlays to specific layouts. You'll then be able to attach an overlay to the center stack, the drawer will appear above it.

We're tracking this issue internally, but you can open an issue here as well if you wish to stay in the loop.

@guyca Well, can you please just reopen this issue as it already contains description and reproducer about this problem?

Was this page helpful?
0 / 5 - 0 ratings

Related issues

bdrobinson picture bdrobinson  路  3Comments

birkir picture birkir  路  3Comments

zhanguangao picture zhanguangao  路  3Comments

EliSadaka picture EliSadaka  路  3Comments

edcs picture edcs  路  3Comments