Skip to content

Commit

Permalink
fix(shared): removes mousedown event handling in focusable
Browse files Browse the repository at this point in the history
  • Loading branch information
benjamind committed Jan 31, 2020
1 parent 6833944 commit 4e90d4c
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions packages/shared/src/focusable.ts
Original file line number Diff line number Diff line change
Expand Up @@ -90,11 +90,6 @@ export class Focusable extends FocusVisiblePolyfillMixin(LitElement) {
}

protected manageFocusIn(): void {
this.addEventListener('mousedown', (event) => {
if (event.composedPath()[0] !== this.focusElement) {
event.preventDefault();
}
});
this.addEventListener('focusin', (event) => {
if (event.composedPath()[0] === this) {
this.handleFocus();
Expand Down

0 comments on commit 4e90d4c

Please sign in to comment.