Fix for hover tooltip removed on hover when parent is outside of EditorView

Hover tooltip gets removed if mouse hovers onto the tooltip if parent is set to an element outside of the EditorView (this is useful when view is in a transformed container and absolute position doesn’t work because it would result in cut off tooltips). This happens because the EditorView has an event listener added that sets hover to null on mouseleave. This can be fixed by conditionally adding the event listener line 493 or early returning the mouseleave function. The tooltip still resets correctly.

This patch should help.

You’re the GOAT