use internal slider value for keypress action
@@ -97,7 +97,8 @@ export abstract class AbstractSliderView extends WidgetView {
// Add keyboard support
const keypress = (e: KeyboardEvent): void => {
- let value = Number(this.sliderEl.noUiSlider.get())
+ const spec = this._calc_to()
+ let value = spec.value[0]
switch (e.which) {
case 37: {
value = Math.max(value - step, start)
