noUiSlider icon indicating copy to clipboard operation
noUiSlider copied to clipboard

NoUISlider breaking completely in angular 13 version.

Open ridhi58 opened this issue 1 year ago • 4 comments

Hey, Need urgent assistance . I have upgraded my project to angular 13 . NoUiSlider was working in old angular versions but with angular 13 it is completely breaking . I just want to confirm if it is not compatible with angular 13 .

for your reference . in previous angular version , it was smoothly working like this image but now the slider breaks like this in newer version. image

ridhi58 avatar Aug 23 '22 07:08 ridhi58

I'm assuming you've updated to 15.5.0 or later. Your custom styles will need updating.

These changes in the default stylesheet need to be incorporated in your overriding styles.

See #1167 for more context.

leongersen avatar Aug 23 '22 07:08 leongersen

yes , i am using "nouislider": "^15.6.0", version.

ridhi58 avatar Aug 23 '22 07:08 ridhi58

is there a way , i dont have to manually override the styles everytime there are some changes with changing the verison?

ridhi58 avatar Aug 23 '22 08:08 ridhi58

No, if you override the included styles you'll have to keep them compatible. The break change here is unfortunate, and I would've avoided it in hindsight. Again, see #1167 for context.

leongersen avatar Aug 23 '22 09:08 leongersen