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

Cannot read properties of undefined (reading 'destroy') #1243

Closed MariaAlmeidaMJ closed 1 year ago

MariaAlmeidaMJ commented 1 year ago

I have the latest version and I am having this error: Cannot read properties of undefined (reading 'destroy')-> this.slider.destroy() Can you see this error, please? Thanks!

leongersen commented 1 year ago

There is not enough information here for me to do anything.

MariaAlmeidaMJ commented 1 year ago

@leongersen What information do you need? angular version: 13, "nouislider": "^15.5.1", "ng2-nouislider": "^1.8.3", json where the problem is coming from: {key:"ngOnDestroy",value:function(){for(this.slider.destroy();this.cleanups.length;)this.cleanups.pop()()}},{key:"toValues",value:function(_){var l=_.map(this.config.format.from);return 1==l.length?l[0]:l}},

github-actions[bot] commented 1 year 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.