Toast组件
不能应用native-base自带的Toast组件问题
起因:咱们的应用程序组件没有蕴含在<Root>内导致
undefined is not an object (evaluating ‘this.toastInstance._root’)]
native-base Toast
在react-native的Modal里应用Toast不显示问题
起因:Toast的层级没有Modal高,敞开Modal后,能够看到Toast,实质是被Modal遮挡了
解决方案:
在Modal外面套一层native-base的Root组件
Toast is not working within a Modal
发表回复