leongersen / noUiSlider

noUiSlider is a lightweight, ARIA-accessible JavaScript range slider with multi-touch and keyboard support. It is fully GPU animated: no reflows, so it is fast; even on older devices. It also fits wonderfully in responsive designs and has no dependencies.
https://refreshless.com/nouislider/
MIT License
5.7k stars 657 forks source link

The critical error when the "scope_Self" called before initialization #1277

Closed kryvoboker closed 3 months ago

kryvoboker commented 3 months ago

I have the critical error when the "scope_Self" called before initialization. The cause in placing of "fireEvent" function and this constant.

For fixing the critical error in my project in "nouislider.ts" I moved the "scope_Self" constant and "fireEvent" function above "setupSlider" function. First - "fireEvent", then "scope_Self" above "fireEvent".

Fixing it, please

github-actions[bot] commented 2 months ago

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.