notiflix / Notiflix

Notiflix is a pure JavaScript library for client-side non-blocking notifications, popup boxes, loading indicators, and more that makes your web projects much better.
https://notiflix.github.io
MIT License
648 stars 55 forks source link

[BUG] - Notify.success() -> Can it stay visible until an async operation completes, similar to Notify.Loading? #64

Closed polis80cy closed 1 year ago

polis80cy commented 1 year ago

Describe the bug

As per the title, can Notify.success() behave like Notify.Loading, i.e. stay visible until we call Loading.remove()?

In other words, do we have any control over the duration Notify.success is visible? Adding a fixed delay is not what I need since I need Notify.success to remain visible for as long as an async operation is running.

furcan commented 1 year ago

Hi,

Notify and Loading modules are completely different and unrelated. If you are expecting the Notify module working like Loading one, it is related to your implementation, not related to this library.

Notiflix is an open-source library. You can fork and extend as you wanted.

Thanks.