Skip to content

Swipe event not working with touch screen in Microsoft Edge. #170

@toshiya14

Description

@toshiya14

My User-agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/89.0.4389.72 Safari/537.36 Edg/89.0.774.45

Issue Description: I use your library in my project, the swipeleft and swiperight event not triggered in my project with touch screen in Microsoft Edge, but the touch gesture function of the browser happens.
I have also tried your Demo, the behavior is the same.
It is the same issue if I use Chrome with a real touch screen.

I have tried to add $([the same selector]).on("touchstart", e => { e.preventDefault(); } to my page, the touch gesture is not triggered any more. But the swipe related events not response as well.

It works fine with mouse operation and F12 mouse emulated touch operation. But not works with a real touch screen.

Metadata

Metadata

Assignees

Labels

awaiting-feedbackThe issue requires more feedback from the original poster.investigatingThe developer is currently investigating the cause or solution to this issue.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions