Topic: Toast delay not working

Denre priority asked 2 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 commented 2 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.


Dawid Wajszczuk staff answered 2 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 2 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



Please insert min. 20 characters.

FREE CONSULTATION

Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.

Status

Answered

Specification of the issue

  • 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