You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
But it still closes after hover. I can set something like extendedTimeOut: 10000, but it will still close (after 10 seconds of course). I don't want it to close by itself at all.
The text was updated successfully, but these errors were encountered:
I also came across the hover feature which happens to be rather confusing for me. But apparently my use case of not hiding after hover is not the regular case. In CodeSeven/toastr I am able to set closeOnHover = false to achieve this behavior. With this one I'd need to give up any timeout in order to not close on hover.
i.e., those two behave rather identically
toastr.success('Stay open after hover.',{timeOut: 20000,closeOnHover: false});// CodeSeven/toastrtoastr.success('Stay open after hover.',{timeOut: 20000,extendedTimeOut: 20000});// angular-toastr
Anyway, since I spent a while in the source code to find out, would it make sense to document the hover feature focused on this 'stay open after hover' use case? You can easily overlook that part currently.
I would like a toastr to stay open unless explicitly closed by the user.
Setting
timeOut: 0
keeps it open, but then if the toastr is hovered, it closes after second. So I have tried:But it still closes after hover. I can set something like
extendedTimeOut: 10000
, but it will still close (after 10 seconds of course). I don't want it to close by itself at all.The text was updated successfully, but these errors were encountered: