fix(menu-bubble-hide): only send hide update, target not child of editor

This commit is contained in:
Christopher Brown 2019-10-03 10:51:08 +02:00
parent 01493e825b
commit 527a7443f1

View File

@ -143,7 +143,7 @@ class Menu {
}
hide(event) {
if (event && event.relatedTarget) {
if (event && event.relatedTarget && this.options.element.parentNode.contains(event.relatedTarget)) {
return
}