Closed nicopapy closed 1 year ago
I haven't seen this before. Is your code running before the node in the DOM is ready?
No, i'm running the code in the mounted event, when all the dom is ready
It works for me with Vue3. I think you should provide a more complete example.
Thanks for the feedback @mitar, I'll close this. Feel free to open a new issue with more details if needed.
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.
With the simple integration example given in the documentation, i got this error on page load (i'm using vue3 and nuxt3) :
Uncaught (in promise) ReferenceError: Cannot access 'scope_Self' before initialization at nouislider.ts:2438:25 at Array.forEach (<anonymous>) at nouislider.ts:2435:43 at Array.forEach (<anonymous>) at fireEvent (nouislider.ts:2431:35) at nouislider.ts:2403:17 at Array.forEach (<anonymous>) at bindEvent (nouislider.ts:2402:27) at tooltips (nouislider.ts:1526:9) at setupSlider (nouislider.ts:2999:13)
I have the same integration working in vue2. Any idea ?