[英]Wix's react-native-navigation, drawer and overlay
I'm using the react-native-navigation and this their github politic is to forward all questions about their lib on stackoverflow , I'm asking the question here.我正在使用react-native-navigation并且他们的 github 策略是在 stackoverflow 上转发有关他们的 lib 的所有问题,我在这里问这个问题。
So here is the issue I'm having:所以这是我遇到的问题:
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 rendered over the drawer that opens.在 Android 上(尚未在 iOS 上测试),如果我打开左侧抽屉,则之前已经打开的覆盖层会呈现在打开的抽屉上。
How can I have the drawer to be rendered over the overlay?如何让抽屉在覆盖层上呈现?
1 - SetRoot with a left drawer. 1 - 带左抽屉的 SetRoot。
2 - right after setRoot, show an overlay 2 - 在 setRoot 之后,显示一个叠加层
3 - when using your app, open the drawer. 3 - 使用您的应用程序时,打开抽屉。 The overlay is rendered over the drawer on Android.
覆盖在 Android 上的抽屉上呈现。 I would like the contrary.
我想相反。
React Native Navigation version: 7.1.0反应原生导航版本:7.1.0
React Native version: 0.63.3反应本机版本:0.63.3
Platform(s) (iOS, Android, or both?): tested on android平台(iOS、Android 或两者?):在 android 上测试
Device info (Simulator/Device? OS version? Debug/Release?): device and simulator, Android 10设备信息(模拟器/设备?操作系统版本?调试/发布?):设备和模拟器,Android 10
原来 rnn 将被升级以解决这个问题: https : //github.com/wix/react-native-navigation/issues/6656
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.