Skip to content

Shift+Arrow after a Shift+click adds selected rows again; deleting then reports a false failure #3678

Closed

Description

@AlexAndBear

Initial Checklist

  • I understand this is a bug report and questions should be posted in the Community Discussions
  • I searched issues and couldn’t find anything (or linked relevant results below)

Bug Description

Shift+Arrow after a Shift+click adds selected rows again; deleting then reports a false failure. Cause: packages/web-app-admin-settings/src/composables/keyboardActions/useKeyboardTableNavigation.ts:71 pushes without checking for duplicates; useKeyboardTableMouseActions.ts:63 resets the cursor after a Shift+click.

Reproduction Steps

  1. Groups: click row 1, Shift+click row 3 ("3 selected").
  2. Press Shift+ArrowUp.
  3. Delete.

Expected Outcome

The selection shrinks or stays at 3; 3 groups are deleted.

Actual Outcome

"4 selected" with 3 checked; the dialog says 4 groups, one DELETE is sent twice (500) and "Failed to delete 1 group" appears.

Screenshot

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions