-
Notifications
You must be signed in to change notification settings - Fork 2.3k
Description
Environment
- Package version(s): "@blueprintjs/core": "^5.10.0",
- Operating System: Mac OS 14
- Browser name and version: Chrome 122
Code Sandbox
Steps to reproduce
See the linked code sandbox
- Open a Toast with timeout of
0. Note that focusing the toast will dismiss it (without clicking the 'x') - Note that with an explicit timeout (e.g.
100_000) this is not the case; Toast remains open after focusing. timeout: Infinityis poorly behaved; Toast immediately closes
Actual 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 as timeout: 0
Reactions are currently unavailable