Shared:ContextMenu: fix event bubble

This commit is contained in:
Timofey Boyko 2024-04-18 11:27:23 +03:00
parent 03dfe7332c
commit 7edfdd5aca

View File

@ -114,6 +114,9 @@ const ContextMenu = React.forwardRef((props: ContextMenuProps, ref) => {
setModel(m);
}
e.stopPropagation();
e.preventDefault();
currentEvent.current = e;
if (visible) {
if (!isMobileUtils()) {