-
Notifications
You must be signed in to change notification settings - Fork 1.4k
Open
Description
Provide a general summary of the issue here
The TagGroup omits onAction, meaning the group can't be used as an implementation of the layout grid pattern + selectionMode="none"
🤔 Expected Behavior?
I'd like to use the onAction in TagGroup, similar to the onRemove so these tags can be actionable, rather than selectable. This makes sense to be because that functionality already exists for links and onAction seems to work even though it isn't typed? 🤔
😯 Current Behavior
The TagGroup doesn't expose onAction in the types like onRemove, so despite it working it fails tsc.
💁 Possible Solution
Expose onAction as it seems to work?
🔦 Context
No response
🖥️ Steps to Reproduce
This repo shows selectionMode="none" and interacting with the tags works with onAction: https://codesandbox.io/p/sandbox/react-aria-components-template-g7wmmk
Version
Latest
What browsers are you seeing the problem on?
Chrome
If other, please specify.
No response
What operating system are you using?
MacOS
🧢 Your Company/Team
No response
🕷 Tracking Issue
No response
Metadata
Metadata
Assignees
Labels
No labels