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.67k stars 660 forks source link

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

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! 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}},

leongersen commented 1 year ago

Please check CONTRIBUTING.md.

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.