snaha / diete.design

https://diete.design
MIT License
0 stars 0 forks source link

Slider steps should snap automatically #205

Closed agazso closed 5 months ago

agazso commented 5 months ago

Currently the behavior is that you can specify a step as a number for the unit to step the slider and independently a snap boolean value to turn snapping on or off (it's off by default).

The designed behavior is that the step defines the unit to which the slider would automatically snap, and there would be another boolean (showSteps or something similar) to make the steps visible.