slider
slider copied to clipboard
feat: set exact step value on click
I needed a functionality to click on a step and set the exact value from it. Because even if I clicked on the step, it was actually clicking on the track, so it took the value were the cursor was and it was not always the same value as the step I clicked on, especially with small steps and wide range.
It would be nice to have it in your repo as well, let me know if it's ok like this.
Thanks.
This pull request is being automatically deployed with Vercel (learn more).
To see the status of your deployment, click below or on the icon next to each commit.
🔍 Inspect: https://vercel.com/react-component/slider/BadansQDYPNm5kbtpmz4Hu2B6Hds
✅ Preview: https://slider-git-fork-ronaldruzicka-feature-al-6d94e8-react-component.vercel.app
conflicted