diff --git a/components/apolloTable/component/Cell.tsx b/components/apolloTable/component/Cell.tsx index 606e58ce27ef0463dc37690f74c277a893ed19aa..3fb6add966656169f43743c7b3fbd627d9ea4f1a 100644 --- a/components/apolloTable/component/Cell.tsx +++ b/components/apolloTable/component/Cell.tsx @@ -248,13 +248,15 @@ const Cell = (props: CellProps) => { )} {showExpand && columnIndex === 0 && ( -
+
{ + e.stopPropagation(); + e.nativeEvent.stopImmediatePropagation(); + }} + > { - e.stopPropagation(); - e.nativeEvent.stopImmediatePropagation(); - showExpand({ rowId: record.id }); - }} + onClick={showExpand.bind(null, { rowId: record.id })} className={s.expandIcon} alt="" src={expandIcon}