Skip to content

Select multiple items that are adjacent #3

@codingedgar

Description

@codingedgar

Select multiple items that are adjacent: Click the first item, then press the Shift key and click the last item. All items in between are included in the selection.

### Core

  • When no items are selected, the selection start is the first item in the list.
  • The selection start is from the previous non-adjacent-selection (single-click, select-multiple) .

Edge cases

  • If the selection goes over previously selected items, the items become part of the same selection (ex: if then the select-adjacent range changes leaving the previously non-adjacent-selected items deselected, then they will be deselected, they won't preserve their original selection partition)
  • if there is a next item after the last selected when toggling selection (deselecting), the next adjacent pivot goes to the next item, if there is no next item, it goes to the last item in the selection.

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions