question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

bootstrap 4.2.1 toast delay does not 'restart' if the toast is shown again before the timeout ends

See original GitHub issue

The 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:closed
  • Created 5 years ago
  • Comments:7 (2 by maintainers)

github_iconTop GitHub Comments

5reactions
jeffehobbscommented, Dec 2, 2019

FYI for anyone still grappling with this, I worked around it by “disposing” of the toast before showing it again.

1reaction
karimcambridgecommented, Dec 3, 2019

Same, but needs to be fixed.

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found