adobe/react-spectrum
GitHub で見るInvestigate onCellAction behavior with selectionMode="replace"
Open
#3,236 opened on 2022年6月15日
help wanted
Repository metrics
- Stars
- (15,634 stars)
- PR merge metrics
- (PR metrics pending)
説明
onCellActions behave oddly with selectionMode="replace" (aka highlight selection mode), preventing row selection on click. This is specifically for tables created with the aria hooks, the React Spectrum TableView doesn't support cell actions.
Ideally, onCellAction should behave similarly to onRowAction in selectionMode="replace" (i.e. described here in https://react-spectrum.adobe.com/react-aria/useTable.html#row-actions). May require changes to usePress to continue propagation, try stuff out.