paper-slider icon indicating copy to clipboard operation
paper-slider copied to clipboard

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

Open kriscooke opened this issue 8 years ago • 0 comments

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

kriscooke avatar Jan 05 '17 02:01 kriscooke