Skip to content
This repository has been archived by the owner on Dec 19, 2024. It is now read-only.

Stepped editable slider's internal input not updated with rounded immediateValue when set to within one step #159

Open
kriscooke opened this issue Jan 5, 2017 · 0 comments

Comments

@kriscooke
Copy link

kriscooke commented Jan 5, 2017

Description

A stepped editable slider doesn't update the internal paper-input with the clamped value when set by typing in the number input to a value within one step of the current value. This means the number displayed in the input is different from the one on the slider itself.

I believe this is because when typing in a number that's within one step, the (correct) clamped immediateValue doesn't change, so the binding on the paper-input doesn't get updated.

Steps to reproduce

  • Type in the slider's number input to set the value to within one step of the current value - assuming initial value is 50 and step is 10, try setting it to anything from 45 to 54.

https://jsbin.com/neyavaludo/edit?html,output

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant