Skip to content

Commit

Permalink
fix: re-adding the same disabled context
Browse files Browse the repository at this point in the history
  • Loading branch information
edoardocavazza committed Oct 7, 2021
1 parent 11a050e commit a450fad
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/Manager.js
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}
Expand Down

0 comments on commit a450fad

Please sign in to comment.