diff --git a/packages/tiptap/src/Plugins/FloatingMenu.js b/packages/tiptap/src/Plugins/FloatingMenu.js index 49345e801..25a8f46d9 100644 --- a/packages/tiptap/src/Plugins/FloatingMenu.js +++ b/packages/tiptap/src/Plugins/FloatingMenu.js @@ -100,6 +100,7 @@ class Menu { hide(event) { if (event && event.relatedTarget + && this.options.element.parentNode && this.options.element.parentNode.contains(event.relatedTarget) ) { return