Make WordPress Core

Opened 9 years ago

Last modified 5 years ago

#33344 new defect (bug)

Do not force draggable elements on touch devices, stop using touch-punch.js

Reported by: azaozz's profile azaozz Owned by:
Milestone: Priority: normal
Severity: normal Version:
Component: General Keywords: needs-patch
Focuses: javascript Cc:


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)

#1 @azaozz
9 years ago

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.

#2 @ocean90
9 years ago

#34645 was marked as a duplicate.

#3 @ocean90
9 years ago

  • Focuses javascript added
  • Keywords needs-patch added
Note: See TracTickets for help on using tickets.