adobe/react-spectrum

Investigate onCellAction behavior with selectionMode="replace"

Open

#3,236 创建于 2022年6月15日

在 GitHub 查看
 (0 评论) (0 反应) (0 负责人)TypeScript (1,500 fork)auto 404
help wanted

仓库指标

Star
 (15,634 star)
PR 合并指标
 (PR 指标待抓取)

描述

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.

贡献者指南