diff --git a/core/util/cursor.js b/core/util/cursor.js index be7ce26d..0dee4eb9 100644 --- a/core/util/cursor.js +++ b/core/util/cursor.js @@ -209,6 +209,9 @@ export default class Cursor { // (i.e. are we over the target, or a child of the target without a // different cursor set) _shouldShowCursor(target) { + if (!target) { + return false; + } // Easy case if (target === this._target) { return true;