From a450fad228d751f6529fd70f9b738bfbc6ccd3d9 Mon Sep 17 00:00:00 2001 From: Edoardo Cavazza Date: Thu, 7 Oct 2021 09:47:21 +0200 Subject: [PATCH] fix: re-adding the same disabled context --- src/Manager.js | 1 + 1 file changed, 1 insertion(+) diff --git a/src/Manager.js b/src/Manager.js index c7de3be..a4ce5e4 100644 --- a/src/Manager.js +++ b/src/Manager.js @@ -196,6 +196,7 @@ export class Manager { } this.contexts.push(context); context.attach(this); + context.enable(); context.element.addEventListener('focusenter', this.onContextEntered); context.element.addEventListener('focusexit', this.onContextExited); }