Skip to content

Keyboard Support with Step Bug #1294

@Geodan-RoemerR

Description

@Geodan-RoemerR

A slider initialized with the parameters below show inconsistent behavior when navigated via keyboard. When positioned at 100, clicking the knob and pressing the left arrow key successfully moves it leftward. However, subsequent right arrow key presses fail to return the knob to its maximum value of 100, despite this position being accessible when using mouse dragging.

noUiSlider.create(slider, {    
    start: 100,
    step: 40,
    range: {
        min: 1,
        max: 100
    }
});

https://codepen.io/Roemer-123/pen/OPJOgWP

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions