Wikiki / bulma-slider

Bulma's extension to display sliders
MIT License
48 stars 35 forks source link

Tooltip doesn't update on range element event 'input' #67

Closed fmp777 closed 2 years ago

fmp777 commented 2 years ago

If you change the value of the input element, bulmaSlider will move the needle, but will not update the tooltip.

Example of problem https://codepen.io/fmp777/pen/oNeddQw

fmp777 commented 2 years ago

Nevermind, it's because of jQuery vs JS event handling. The handler is set with JS, so jQuery won't trigger it. If anyone else runs into same issue, you need to fire the 'input' event manually with javascript, or change bulma-slider to attach the event with jQuery.