-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Open
Description
Provide a general summary of the issue here
In the JSDoc for RAC Table, the disabledBehavior
has a default of 'selection'
, however it is actually defaulting to 'all'
.
🤔 Expected Behavior?
Based on the default in useTableState
, the JSDoc is correct and the RAC Table should set the disabledBehavior
to 'selection'
when it is not specified
😯 Current Behavior
The default in useTableState
is bypassed by the RAC Table setting UNSAFE_selectionState
, which does not correctly default the disabledBehavior
to 'selection'
💁 Possible Solution
Pass the default value to useMultipleSelectionState
in RAC Table.
🔦 Context
No response
🖥️ Steps to Reproduce
https://codesandbox.io/p/sandbox/v5twrk
Version
RAC 1.13.0
What browsers are you seeing the problem on?
Chrome
If other, please specify.
No response
What operating system are you using?
macOS 15
🧢 Your Company/Team
No response
🕷 Tracking Issue
No response
Metadata
Metadata
Assignees
Labels
No labels