Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Picker display beneath the Modal on Android #148

Open
vivaxy opened this issue May 1, 2017 · 9 comments
Open

Picker display beneath the Modal on Android #148

vivaxy opened this issue May 1, 2017 · 9 comments

Comments

@vivaxy
Copy link

vivaxy commented May 1, 2017

image

@vivaxy
Copy link
Author

vivaxy commented May 29, 2017

Both Modal and Picker uses android.Dialog to show view.

@vivaxy
Copy link
Author

vivaxy commented May 30, 2017

Adding a navigation top-level scene when showing the picker could resolve this problem.

@VincentSuperper
Copy link

能说的详细些吗?

@VincentSuperper
Copy link

@vivaxy

@vivaxy
Copy link
Author

vivaxy commented Jun 5, 2017

@VincentSuperper 由于 Picker 和 Modal 都用了 Android.Dialog 去展示,因此会有冲突。
解决方案是用一页新 Navigation 替代 Modal,Navigation 需要半透明。

@VincentSuperper
Copy link

好的谢谢

@VincentSuperper
Copy link

@vivaxy 能看一下关键代码吗?

@vivaxy
Copy link
Author

vivaxy commented Jun 5, 2017

@VincentSuperper 我使用了 react-native-router-flux 来实现 Navigation,可能和你的架构不一致。

@mykelaballe
Copy link

having the same issue on iOS but not on Android. im using the ignite framework and its currently using react-native-router-flux for its navigation. what's weird is that, this library works fine in Android. but in iOS the picker is behind the modal. anyone got idea for a quick fix?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants