react-native-easy-toast icon indicating copy to clipboard operation
react-native-easy-toast copied to clipboard

Toast after closing screen

Open mkloar opened this issue 6 years ago • 1 comments

Hey. Is it possible to show same toast, after navigating to another screen? I have problem that my toast is closed after I navigate to different screen.

mkloar avatar Jan 30 '19 11:01 mkloar

Well, you could add the toast component to upper level in you view hierarchy, on the same level as you navigator. Also, there is a library that renders toast on the top level of you application: https://github.com/magicismight/react-native-root-toast , but please note, that there could be issues with it when you are using Wix router, because it uses AppRegistry.setWrapperComponentProvider

sesm avatar Mar 15 '19 09:03 sesm