Skip to content

Setting extendedTimeOut to zero, toastr still dismisses after hover #233

@smlombardi

Description

@smlombardi

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:

     closeButtonWarning: function () {
        toastr.warning('Low Funds. <a href="somelink">Add postage</a>', {
          closeButton: true,
          timeOut: 0,
          extendedTimeOut: 0
        });
      },

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions