bootstrap 4.2.1 toast delay does not 'restart' if the toast is shown again before the timeout ends
See original GitHub issueThe title explains it well.
clearTimeout(this._timeout)
}
The code above should be added in show()
for the toast class at https://github.com/twbs/bootstrap/blob/9e4e94747bd698f4f61d48ed54c9c6d4d199bd32/js/src/toast.js#L80
- Windows 10.0.17763 Build 17763
- Version 71.0.3578.98 (Official Build) (64-bit)
Don’t think there is need for a test case.
Issue Analytics
- State:
- Created 5 years ago
- Comments:7 (2 by maintainers)
Top Results From Across the Web
Toasts
Push notifications to your visitors with a toast, a lightweight and easily customizable alert message. Toasts are lightweight notifications designed to mimic ...
Read more >javascript - Bootstrap toast does not show up
I'm unsure I read to put that in my javascript. It is from the bootstrap website: getbootstrap.com/docs/4.3/components/toasts if you go down to ...
Read more >How to Improve UX with Bootstrap 4.2 | by Carol Skelly
The Bootstrap Toast has a few simple options. The boolean animation option by default is true, and provides a basic fade transition. The...
Read more >Toasts - React-Bootstrap Documentation
Toasts. Push notifications to your visitors with a toast, a lightweight and easily customizable alert message. Toasts are lightweight notifications designed ...
Read more >Toasts · Boosted v5.0
Even if you give the toast a long delay timeout, keyboard and assistive technology users may find it difficult to reach the toast...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
FYI for anyone still grappling with this, I worked around it by “disposing” of the toast before showing it again.
Same, but needs to be fixed.