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

Decimal range slider can show unexpected decimals #6424

Open
lognaturel opened this issue Sep 18, 2024 · 3 comments
Open

Decimal range slider can show unexpected decimals #6424

lognaturel opened this issue Sep 18, 2024 · 3 comments

Comments

@lognaturel
Copy link
Member

From https://forum.getodk.org/t/odk-collect-v2024-3-beta-offline-entities-counter-map-scale/49420/12?u=ln:

Ah, computers!! 🥰

@lognaturel
Copy link
Member Author

@getodk/testers it would be helpful to see whether this is a change from prior versions

@dbemke
Copy link

dbemke commented Sep 27, 2024

I reproduced the range widget with step =0.1. and the issue occurs also in v2024.2.4. I tried also v2023.2.0 and the issue occurs.
If in range widget step = 0.5, it works as expected.

@lognaturel
Copy link
Member Author

Thanks @dbemke! Looks like it's a floating point precision issue. We should fix it but it doesn't feel urgent.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: not ready
Development

No branches or pull requests

2 participants