Skip to content

multiple selection selectionBehavior #2018

@snowystinger

Description

@snowystinger

🙋 Feature Request

We need to add a prop for selectionBehavior?: 'toggle' | 'replace' that will cause selections to work like they do in Mac Finder, where pressing without any modifier keys will replace the entire selection. This is unlike toggle, which if pressed, will add to the selection or remove that item from the selection without affecting the rest of the selection.
This is split out from #1905

Should this be selectionStyle?: 'checkbox' | 'highlight'?

image

🤔 Expected Behavior

😯 Current Behavior

💁 Possible Solution

🔦 Context

💻 Examples

🧢 Your Company/Team

🎁 Tracking Ticket (optional)

Metadata

Metadata

Assignees

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