andreruffert / rangeslider.js

🎚 HTML5 input range slider element jQuery polyfill
https://rangeslider.js.org
MIT License
2.16k stars 401 forks source link

ToolTip is not displayed #204

Closed octaviodiaz closed 8 years ago

octaviodiaz commented 8 years ago

When I set the tooltip especificaly from bootstrap , it does not show up :/.

andreruffert commented 8 years ago

If u have a example (CodePen, jsfiddle etc.) what exactly is not working I guess we can figure it out why it does not show up 🤖

octaviodiaz commented 8 years ago

yes , sorry :P . I just uncomment the initialization of your beautiful slider and then it does not work.

Here is the code http://codepen.io/anon/pen/XXaeda

andreruffert commented 8 years ago

K I see :) The <input type="range"> element get's hidden after the rangeslider.js initialization that's why the tooltip doesn't show up any more. Simple solution would be to set the tooltip attributes (data-toggle="tooltip" etc.) to the generated .rangeslider element. You can do this for example in the onInit() hook.

http://codepen.io/anon/pen/JGyrOa?editors=001

octaviodiaz commented 8 years ago

Thanks !!!