Skip to content
This repository was archived by the owner on Mar 7, 2025. It is now read-only.

Commit

Permalink
fix(mobile): remove touch event handling if hover events
Browse files Browse the repository at this point in the history
  • Loading branch information
jason-capsule42 committed Dec 8, 2021
1 parent 4d23352 commit 37fe9c4
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions src/auro-dropdown.js
Original file line number Diff line number Diff line change
Expand Up @@ -26,12 +26,6 @@ class AuroDropdown extends LitElement {
super();

this.privateDefaults();

// adds toggle function to root element based on touch
this.addEventListener('touchstart', function() {
this.toggle();
this.setAttribute("isTouch", "true");
});
}

/**
Expand Down

0 comments on commit 37fe9c4

Please sign in to comment.