You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Oct 8, 2021. It is now read-only.
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.
The text was updated successfully, but these errors were encountered:
jQuery Mobile calls
preventDefault()
on touch events to prevent scrolling.https://github.com/jquery/jquery-mobile/blob/4a6395df87acc4065ba39c3ab17d419fdc1a585b/js/events/touch.js#L248-L251
But this line accidentally also calls
preventDefault()
whenevent
is not aTouchEvent
but aMouseEvent
, 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.
The text was updated successfully, but these errors were encountered: