I've been trying to use MDL sliders to make my website, but I get a problem. Everything is working, however, when I try to change the value of the slider through jQuery, the "bar" of the slider isn't synced as you can see here :
or the "blue circle" isn't colored (note that the default value is the minimum one which disables the color of the slider and when I update it, it doesn't put the color back) :
The code I'm using to change sliders value:
$("#mySlider").val(10);
But it doesn't update the graphical part, only the value.
This is the property which handles the bar color :
Minimal reproducible example:
To reproduce this, insert a slider with a default value then change it using the above javascript code to change the value.