Opened 10 years ago
Last modified 6 years ago
#33344 new defect (bug)
Do not force draggable elements on touch devices, stop using touch-punch.js
Reported by: |
|
Owned by: | |
---|---|---|---|
Milestone: | Priority: | normal | |
Severity: | normal | Version: | |
Component: | General | Keywords: | needs-patch |
Focuses: | javascript | Cc: |
Description
Having draggable elements on touch screen devices doesn't work well in most cases. It interferes with the standard scrolling, dragging an element off the page doesn't scroll it either. Examples: Menus, Widgets, Dashboard (rearranging the layout), Customizer => Menus and Widgets, etc. This is especially bad on Android as drag/drop is disabled for iOS in several places.
Change History (3)
Note: See
TracTickets for help on using
tickets.
The only place we still use touch-punch.js is in iris.js. It is not required but makes selecting a color on a touch device a bit easier. We probably can add it directly there instead of listing it as dependency.