Topic: Toast delay not working
Denre priority asked 3 years ago
When settings the delay value for the toast I expect the fade out to be delayed.
Changing the delay value does not have any effect.
Dawid Wajszczuk staff answered 3 years ago
Hi,
Thanks for reporting this bug. I have added this to our TODO list. I suggest using data attributes until we fix it.
Keep coding,
Dawid
Denre priority answered 3 years ago
Hi,
Try to do the same using javascript
https://mdbootstrap.com/snippets/standard/denre/3237913
I set delay to 50000000 and it doesn't make any difference
FREE CONSULTATION
Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.
Answered
- ForumUser: Priority
- Premium support: Yes
- Technology: MDB Standard
- MDB Version: MDB5 3.9.0
- Device: laptop
- Browser: FireFox
- OS: Windows 10
- Provided sample code: No
- Provided link: No
Dawid Wajszczuk staff commented 3 years ago
Hi. Delay works perfectly fine. Here is the snippet showing different delay for each toast https://mdbootstrap.com/snippets/standard/d-wajszczuk/3242057#html-tab-view. It is related to duration of toast being visible. In other words, delay of toast closer.