-
Notifications
You must be signed in to change notification settings - Fork 403
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Toast disappears as soon as appears #138
Comments
+1 |
I had better result after settings the duration param to an absurde number like 1000000000 |
This happens to me too, but only on Android. It appears and immediately disappears (onShow triggers), and then after the set duration, onHide triggers, even though it was no longer visible. On iOS, it works fine. |
I found that I just needed to set useNativeDriver to false in the _show function of ToastContainer.js to solve the issue. |
This is my
Toast
configurationAs per documentation
Toast.durations.LONG
means3500
(I ma not sure if it is milliseconds). But in my case Toast disappears as soon as appears. IF I give value5000
then it remains up to2 seconds
.Toast.durations.LONG(3500)
The text was updated successfully, but these errors were encountered: