seiyria / bootstrap-slider

A slider control for Bootstrap 3 & 4.
http://seiyria.github.io/bootstrap-slider/
Other
3k stars 1.14k forks source link

Support for Bootstrap 5 #961

Open Polm90 opened 3 years ago

Polm90 commented 3 years ago

Are you going to add support for Bootstrap 5? Thank you!

seiyria commented 3 years ago

I would accept a pr but I don't think any of the maintainers have plans to do this. I'm not sure it needs any updates to be compatible since we don't rely on their css anyway.

dlupu commented 3 years ago

I confirm that, on one of my projects, switching to bootstrap 5 did not break the slider in any way (CSS and JS continued to work as expected).

seiyria commented 2 years ago

@paulvancity we do not support bs5, as this issue is open. Likely there is a class conflict.

charlygut commented 6 months ago

I tried it and with little effort it works fine.

sir-oliver commented 2 months ago

The slider works fine but Bootstrap 5 has changed the markup of the tooltip, so the arrow does not work anymore. The arrow element now has the class tooltip-arrow instead of just arrow.

<div class="tooltip tooltip-main bs-tooltip-top show" role="presentation">
<div class="tooltip-arrow"></div>
<div class="tooltip-inner"></div>
</div>

https://getbootstrap.com/docs/5.3/components/tooltips/#markup