This repository was archived by the owner on Oct 8, 2021. It is now read-only.
This repository was archived by the owner on Oct 8, 2021. It is now read-only.
Swiping unexpectedly prevents text selection #8670
Open
Description
jQuery Mobile calls preventDefault()
on touch events to prevent scrolling.
But this line accidentally also calls preventDefault()
when event
is not a TouchEvent
but a MouseEvent
, and thus unexpectedly prevent desktop browsers from selecting texts, which is causing web compatibility issue.
The line should check the event type to prevent such issue.
Metadata
Metadata
Assignees
Labels
No labels