You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
I'm mainly using this package for displaying errors. Sometimes I redirect the user to a different screen than the one that produced the error and want to use a Toast to display the error on the new screen (so it should persist, the way it already does).
Other times I don't want to force the user to swipe the Toast away, but I also don't want to set a timeout. It should go away once the screen changes.
The text was updated successfully, but these errors were encountered:
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
The text was updated successfully, but these errors were encountered: