mirror of
https://github.com/ueberdosis/tiptap.git
synced 2024-12-14 10:39:18 +08:00
Merge pull request #589 from janiskelemen/patch-2
Fix error on hide event
This commit is contained in:
commit
fb147d45f3
@ -155,6 +155,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