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 (#3502)

Signed-off-by: Sebastian Malton <sebastian@malton.name>
This commit is contained in:
Sebastian Malton 2021-07-27 08:53:22 -04:00 committed by GitHub
parent 3349c548de
commit 91b3bd10ee
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

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