Open dylangrandmont opened 8 months ago
Thanks for the bug report @dylangrandmont! Fix for 0
here https://github.com/palantir/blueprint/pull/6783. We should probably handle Infinity
better as you mentioned.
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.
Thanks, @gluxon! Let's also track adding a test case as part of fixing this issue.
Hi @ericjeney , I'd like to work on resolving the issue with handling timeout: Infinity
. Please can you let me know if someone is working on this already?
Hey @AustineChi, I hadn't started yet. Would appreciate the help.
Hi @gluxon , @dylangrandmont , and @ericjeney - I've submitted PR #7059 to address the timeout: Infinity
behavior issue and included a test case. Would appreciate your review when you have a chance. Thank you!
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:
https://github.com/palantir/blueprint/assets/20345725/40bc7800-1b37-4cf9-bd1a-405425e835df
Expected behavior
Toast with
timeout: 0
should not dismiss early.timeout: Infinity
should also behave the same astimeout: 0