Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Issue with grid 1-4 #772

Open
tartakxg opened this issue Dec 28, 2021 · 1 comment
Open

Issue with grid 1-4 #772

tartakxg opened this issue Dec 28, 2021 · 1 comment
Assignees
Labels
Help wanted Person asking for help

Comments

@tartakxg
Copy link

$("#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
Copy link
Owner

IonDen commented Jan 5, 2022

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

@IonDen IonDen self-assigned this Jan 5, 2022
@IonDen IonDen added the Help wanted Person asking for help label Jan 5, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Help wanted Person asking for help
Projects
None yet
Development

No branches or pull requests

2 participants