seiyria / bootstrap-slider

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

Use pointer cursor on slider ticks #849

Closed edemaine closed 5 years ago

edemaine commented 5 years ago

I'm now updating from a very old version of this package, and I found that this CSS rule got removed somehow. In my application, all the possible options are marked with ticks, and the ticks are clickable. Yet the cursor: pointer rule somehow only applies everywhere except the tick marks (probably because of a change in how the tick marks are positioned). Thus I found it necessary to make the tick marks also have the cursor: pointer rule.

Here's a screenshot of my use-case. Unfortunately, I can't get the screenshot to show the cursor, but it is correct.

image

rovolution commented 5 years ago

merged and published to v10.2.0. thanks again for your contribution @edemaine!

edemaine commented 5 years ago

Great, thanks! Published version works well.