paper-slider
paper-slider copied to clipboard
Stepped editable slider's internal input not updated with rounded immediateValue when set to within one step
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