Skip to content

[RAC] Checkbox not recognizing shift-click inside collections #8662

@alanhajo-ui

Description

@alanhajo-ui

Provide a general summary of the issue here

Currently, you can select multiple selections in a collection (e.g. Tree in this example).
See video:

Screen.Recording.2025-08-01.at.13.46.20.mov

However, the functionality lacks when doing the same action on a Checkbox within the collection items.

See video:

Screen.Recording.2025-08-01.at.13.46.57.mov

🤔 Expected Behavior?

Ideally, shift-clicking the Checkbox should behave the same and select items between.

😯 Current Behavior

Checkbox does not apply multi-selection functionality with keyboard actions.

💁 Possible Solution

Expose same events to slot="selection", that you already expose to the list

🔦 Context

No response

🖥️ Steps to Reproduce

  1. Go to a collection component
  2. Select a checkbox
  3. Shift-click a checkbox a few rows away

See video above for clarity

Version

RAC 1.11.0

What browsers are you seeing the problem on?

Chrome

If other, please specify.

No response

What operating system are you using?

MacOS Sequoia 15.5

🧢 Your Company/Team

Ubiquiti Inc

🕷 Tracking Issue

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions