mirror of
https://github.com/ueberdosis/tiptap.git
synced 2024-12-14 18:49:02 +08:00
Merge pull request #588 from janiskelemen/patch-1
Fix error in hide event
This commit is contained in:
commit
cfc9b38af8
@ -100,6 +100,7 @@ class Menu {
|
||||
hide(event) {
|
||||
if (event
|
||||
&& event.relatedTarget
|
||||
&& this.options.element.parentNode
|
||||
&& this.options.element.parentNode.contains(event.relatedTarget)
|
||||
) {
|
||||
return
|
||||
|
Loading…
Reference in New Issue
Block a user