-
Notifications
You must be signed in to change notification settings - Fork 38
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
建议允许显示多个modal并可关闭指定Modal #232
Comments
现在这个版本 |
我看看
这个参数不支持从 Modal 透传事件到其它页面 |
那如果想要实现层级最高的自定义Toast该如何实现呢?在每个页面里重复注入一个组件感觉不太优雅 |
hybrid-navigation 中的 Modal 本质是个 window, window 是有 level 的,level 越高,层级就越高。打算往这个方向研究下,看能不能通过增加 windowLevel 这样的配置来解决问题。 |
@NiuGuohui 使用 hybrid-navigation-overlay 来实现 Toast 即可 |
overlay 是 react-native-toast-hybrid 的替代品吗? |
@baiachen hybrid-navigation-overlay 只是个基础设施,可以用来实现 Toast, Alert, Floating Button 等需要在所有页面悬浮的 UI 效果。 |
很多情况下用户会触发多次的showModal(例如由Modal实现的自定义Toast、Dialog等),但是现在的API并不支持关闭指定sceneId的Modal。hideModal的行为只会关闭栈顶的Modal
The text was updated successfully, but these errors were encountered: