IonDen / ion.rangeSlider

jQuery only range slider
http://ionden.com/a/plugins/ion.rangeSlider/en.html
MIT License
2.56k stars 508 forks source link

Issue with grid 1-4 #772

Open tartakxg opened 2 years ago

tartakxg commented 2 years ago

$("#example_id").ionRangeSlider( { type: "integer", min: 1, max: 4, from: 1, to: 4, postfix: "", hide_min_max: true, grid: true, } );

Grid has 1-2-3-3-4 and wrong steps: https://jsfiddle.net/tartakx/a0rygw7x/

IonDen commented 2 years ago

Yes, in some cases automatic grid could have some problems. You could fix it by using grid_snap: true parameter.