Skip to content

Commit

Permalink
Merge pull request #488 from simonewebdesign/patch-1
Browse files Browse the repository at this point in the history
Remove { passive: true } from touchstart listener
  • Loading branch information
ghosh authored Nov 27, 2021
2 parents 1eb33d0 + c21cfa6 commit 92f2467
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ const MicroModal = (() => {
}

addEventListeners () {
this.modal.addEventListener('touchstart', this.onClick, { passive: true })
this.modal.addEventListener('touchstart', this.onClick)
this.modal.addEventListener('click', this.onClick)
document.addEventListener('keydown', this.onKeydown)
}
Expand Down

0 comments on commit 92f2467

Please sign in to comment.