1
0
mirror of https://github.com/lensapp/lens.git synced 2025-05-20 05:10:56 +00:00

Only stopPropagration in onClick for the itemMenu

Signed-off-by: Sebastian Malton <sebastian@malton.name>
This commit is contained in:
Sebastian Malton 2021-07-23 09:15:06 -04:00
parent 239bfec99c
commit e55d0833d4

View File

@ -274,8 +274,10 @@ export class ItemListLayout<I extends ItemObject> extends React.Component<ItemLi
}) })
} }
{renderItemMenu && ( {renderItemMenu && (
<TableCell className="menu" onClick={stopPropagation}> <TableCell className="menu">
{renderItemMenu(item, store)} <div onClick={stopPropagation}>
{renderItemMenu(item, store)}
</div>
</TableCell> </TableCell>
)} )}
</TableRow> </TableRow>