Closed mxmihai closed 2 years ago
also, instead of:
delayOrAutohide = `data-autohide="false"`;
it should be:
delayOrAutohide = `data-bs-autohide="false"`;
also, instead of:
if ($.toastDefaults.pauseDelayOnHover) {
it shoudl be:
if ($.toastDefaults.pauseDelayOnHover && opts.delay) {
@mxmihai thank you for hunting this down, I was just getting back to this and found these problems and you already got the code ready :)
In addition to the items here (plus #1 and #2), also fixed 2 more
position-absolute
needed to be position-fixed
in the toast-container data-delay
is now data-bs-delay
Maybe the delay shoule be more flexible.
instead of:
maybe: