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

IxSlider does not work properly when setting step to a non round numbers #1550

Closed
2 tasks done
AmitSmall opened this issue Nov 3, 2024 · 1 comment
Closed
2 tasks done
Labels
triage We discuss this topic in our internal weekly

Comments

@AmitSmall
Copy link

Prerequisites

  • I have read the Contributing Guidelines.
  • I have not leaked any internal/restricted information like screenshots, videos, code snippets, links etc.

What happened?

When the step is a non round number, the component is glitching.
I can't get decimal values when moving the slider, and it's especially noticeable when the range is not between round numbers.
The slider does follow my assigned steps, but the value and trace is stuck on the last round number.
I would expect the value and UI to support decimal numbers.
Attaching an example

What type of frontend framework are you seeing the problem on?

React

Which version of iX do you use?

2.5.0

Code to produce this issue.

https://stackblitz.com/edit/axotbx-jgdusq?file=src%2Fslider.tsx%3AL15
@AmitSmall AmitSmall added the triage We discuss this topic in our internal weekly label Nov 3, 2024
@nuke-ellington
Copy link
Collaborator

Should be fixed via #1468 (next release)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
triage We discuss this topic in our internal weekly
Projects
None yet
Development

No branches or pull requests

2 participants