mirror of
https://github.com/jeffvli/feishin.git
synced 2026-05-07 04:20:12 +02:00
fix double click propagation on the table expand button
This commit is contained in:
@@ -62,6 +62,7 @@ const DefaultRowIndexColumn = (props: ItemTableListInnerColumn) => {
|
|||||||
icon="arrowDownS"
|
icon="arrowDownS"
|
||||||
iconProps={{ color: 'muted', size: 'md' }}
|
iconProps={{ color: 'muted', size: 'md' }}
|
||||||
onClick={(e) => {
|
onClick={(e) => {
|
||||||
|
e.stopPropagation();
|
||||||
const item = (props.getRowItem?.(rowIndex) ??
|
const item = (props.getRowItem?.(rowIndex) ??
|
||||||
data[rowIndex]) as ItemListItem;
|
data[rowIndex]) as ItemListItem;
|
||||||
const rowId = internalState.extractRowId(item);
|
const rowId = internalState.extractRowId(item);
|
||||||
|
|||||||
Reference in New Issue
Block a user