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
647 stars 55 forks source link

[BUG] - Block Module: Temporary class name for the position #47

Closed furcan closed 2 years ago

furcan commented 2 years ago

Describe the bug

For the Block Module; The temporary class name for the static positioned reference elements can not be related to the options and/or can not be dynamic. Add and remove methods have their own instances and these options always will be different from each other if using method-based init options instead of the global init. The temporary class name should be static or a built-in state can be used to store the previous one.

Expected behaviour

The temporary class name should be removed in any case.

Additional context

This issue is also related to: https://github.com/notiflix/Notiflix/issues/45