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

range-slider with wrong initial value (handle) for negative value #448

Closed
obrhaberer opened this issue May 28, 2021 · 1 comment
Closed
Assignees
Labels
bug Things that aren't working right in the library.

Comments

@obrhaberer
Copy link

obrhaberer commented May 28, 2021

Describe the bug
range-slider with wrong initial value (handle) for negative value

To Reproduce
<sl-range min="-100" max="100" step="1" value="-100"></sl-range>

Expected behavior
set range-slider to the right value initially

Screenshots
If applicable, add screenshots to help explain your problem.

Desktop (please complete the following information):
all

@obrhaberer obrhaberer added the bug Things that aren't working right in the library. label May 28, 2021
@claviska
Copy link
Member

Thanks for reporting this. The problem was with the binding order, where value was being set before min and max, causing it to be clamped to the default min and max values.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Things that aren't working right in the library.
Projects
None yet
Development

No branches or pull requests

2 participants