From 6c0a360c2132a23b8d139e86b6bdc626fe7b62d8 Mon Sep 17 00:00:00 2001 From: ortiza5 <43008712+ortiza5@users.noreply.github.com> Date: Tue, 16 Mar 2021 20:25:43 -0600 Subject: [PATCH] potential fix for issue #12 --- js/spatial-navigation.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/js/spatial-navigation.js b/js/spatial-navigation.js index eec338b..b2bd76c 100644 --- a/js/spatial-navigation.js +++ b/js/spatial-navigation.js @@ -2516,7 +2516,7 @@ function map(targets, callback, reverse, stack) { callback(target, shiftKey, controlKey); } observer.blur(); - observer.remove(); + setTimeout(function () { return observer.remove(); }, 1); // TODO: Decouple from E key switch (key) { case !reverse ? 'e' : 'E':