calintamas / react-native-toast-message

Animated toast message component for React Native
MIT License
1.6k stars 252 forks source link

Option to Hide Toast on Navigate #543

Open Keenan-Softserve opened 2 months ago

Keenan-Softserve commented 2 months ago

Is your feature request related to a problem? Please describe. I want to be able to decide when a toast should persist when navigating to a new screen (using react-navigation).

Describe the solution you'd like When displaying a toast Toast.show() one of the ToastShowParams (ToastOptions) should have a 'persist:boolean' that determines if the Toast should persist when the screen changes or not.

Additional context