Skip to content

[Range] What should clicking on the track do when multiple handles are available? #1278

@brechtDR

Description

@brechtDR

The current way to navigate the multi-handle range sliders is:

  • Drag the thumbs
  • Use tabs and arrows to move thumb around

The problem with this is that we only have drag and keyboard navigation, and no way to move the thumb with just a single pointer.

What should happen when clicking on the track?

  • nothing
  • first clicking on the thumb, then on the track moves the thumb in that position
    • A currently focused thumb moves to that position; otherwise, nothing happens
    • A currently focused thumb moves to that position; if none is focused the first thumb in the DOM moves to the position (if possible)
    • A currently focused thumb moves to that position; if none is focused the last thumb in the DOM moves to the position (if possible)
    • A currently focused thumb moves to that position; if none is focused the closest thumb moves to the position (Seems very difficult, but thought i'd give that option to be complete)
  • Other suggestions welcome.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions