Shared:ContextMenu: fix event bubble
This commit is contained in:
parent
03dfe7332c
commit
7edfdd5aca
@ -114,6 +114,9 @@ const ContextMenu = React.forwardRef((props: ContextMenuProps, ref) => {
|
||||
setModel(m);
|
||||
}
|
||||
|
||||
e.stopPropagation();
|
||||
e.preventDefault();
|
||||
|
||||
currentEvent.current = e;
|
||||
if (visible) {
|
||||
if (!isMobileUtils()) {
|
||||
|
Loading…
Reference in New Issue
Block a user