Only stopPropagration in onClick for the itemMenu

Signed-off-by: Sebastian Malton <sebastian@malton.name>
This commit is contained in:
Sebastian Malton committed 2021-07-23 09:15:06 -04:00
1 parent 239bfec99c
commit e55d0833d4
1 file changed
+4 -2
@@ -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>