We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Code sandbox
See the linked code sandbox
0
100_000
timeout: Infinity
See above and also screen recording from sandbox:
Toast with timeout: 0 should not dismiss early. timeout: Infinity should also behave the same as timeout: 0
timeout: 0
The text was updated successfully, but these errors were encountered:
Thanks for the bug report @dylangrandmont! Fix for 0 here #6783. We should probably handle Infinity better as you mentioned.
Infinity
Sorry, something went wrong.
timeout
Will leave this open for the Infinity part of the problem.
Thanks, @gluxon! Let's also track adding a test case as part of fixing this issue.
Successfully merging a pull request may close this issue.
Environment
Code Sandbox
Code sandbox
Steps to reproduce
See the linked code sandbox
0
. Note that focusing the toast will dismiss it (without clicking the 'x')100_000
) this is not the case; Toast remains open after focusing.timeout: Infinity
is poorly behaved; Toast immediately closesActual behavior
See above and also screen recording from sandbox:
Screen.Recording.2024-03-14.at.11.45.53.AM.mov
Expected behavior
Toast with
timeout: 0
should not dismiss early.timeout: Infinity
should also behave the same astimeout: 0
The text was updated successfully, but these errors were encountered: