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

[Bug]: Editable Slider not rounding values #4201

Closed
1 task done
Rajdeepc opened this issue Mar 21, 2024 · 1 comment · Fixed by #4263
Closed
1 task done

[Bug]: Editable Slider not rounding values #4201

Rajdeepc opened this issue Mar 21, 2024 · 1 comment · Fixed by #4263
Assignees
Labels
bug Something isn't working Component: Slider triage An issue needing triage

Comments

@Rajdeepc
Copy link
Contributor

Rajdeepc commented Mar 21, 2024

Code of conduct

  • I agree to follow this project's code of conduct.

Impacted component(s)

Slider

Expected behavior

Editable Slider onChange event.target.value should print 0.56 after adding0.55999999999 on the NumberField

Actual behavior

Slider is printing 0.55999999999 instead of 0.56

Screenshots

Screenshot 2024-03-21 at 6 24 26 PM

What browsers are you seeing the problem in?

Firefox, Chrome, Safari, Microsoft Edge

How can we reproduce this issue?

Following are steps :-

Change min="0.25" to min="0.10"
In textbox , type 0.55999999999
In change i can see 0.55999999999 is getting logged instead of 0.56
Note: this bug is reproducible for few number like 0.55999999999 and NOT for 0.5999999999. And it is reproducible only for min value less than 0.11.

JIRA bug: https://jira.corp.adobe.com/browse/CCEX-102612

Sample code that illustrates the problem

No response

Logs taken while reproducing problem

No response

@Rajdeepc Rajdeepc added bug Something isn't working Component: Slider triage An issue needing triage labels Mar 21, 2024
@Westbrook
Copy link
Collaborator

Would this be considered a duplicate of #3817?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working Component: Slider triage An issue needing triage
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants