Changed wrapper and events to allow other EventListeners.

This commit is contained in:
2021-01-26 08:01:51 +01:00
parent fa0256d782
commit ca5a39d661
2 changed files with 21 additions and 13 deletions
+4 -1
View File
@@ -1,7 +1,10 @@
export default class Events {
static stop(event) {
event.preventDefault()
event.stopPropagation()
// I removed this, as it destroys all the Hammer.js events.
// And also the click event.
// It seems to have no (apparent) negative impact. -SO
// event.stopPropagation()
}
static extractPoint(event) {