Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
当用户触摸某些元素时,我试图显示弹出视图。我正在使用 react-native-router-flux 进行导航。我尝试使用他们的 modal 属性或 scheme=popup 等,但我无法让它作为弹出窗口工作。相同的组件用作导航。你能帮忙吗?
我在设置时犯了一个错误。看起来根组件场景和模态组件场景必须与根的子级处于同一级别而不是模态。喜欢
<Scene key="modal" component={Modal}> <Scene key="root" component={Base}> <Scene key="some" component={Some} /> </Scene> <Scene key="actualModal" component={ActualModal} /> </Scene>