Skip to content

Shift click in range table does not always work as expected #6397

@lucasprograms

Description

@lucasprograms

Describe the bug

Shift click row does not work as expected after de-selecting row with ctrl click.

Steps to reproduce the bug

  1. Go to row-select demo here: https://bootstrap-vue.org/docs/components/table#row-select-support
  2. Change "Selection Mode" dropdown to "range"
  3. Click the second row
  4. Ctrl-click the first row
  5. Ctrl-click the second row
  6. Shift-click the bottom row

Expected behavior

All rows are selected

Actual behavior

Bottom row is selected

Versions

Libraries:

  • BootstrapVue: 2.21.2

Environment:

  • Device: desktop computer
  • OS: Ubuntu 20
  • Browser: Chromium
  • Version: Latest

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