Make WordPress Core

Opened 23 months ago

Last modified 2 months ago

#26112 new enhancement

Available widgets drag-and-drop causes trouble on touch devices

Reported by: shaunandrews Owned by:
Milestone: Future Release Priority: normal
Severity: normal Version:
Component: Widgets Keywords: needs-patch
Focuses: Cc:


Now that we have click-to-add for available widgets, I think it makes sense to disable the drag-and-drop for available widgets on touch devices. The interaction tends to cause troubles on touch devices when you intend to scroll through the list of widgets, and instead initiate the draggable.

Since active and inactive widgets don't have any alternative for reordering, we can keep the draggable interaction there on touch devices — but maybe we should think of a new way of reordering these widgets without requiring drag-and-drop.

Change History (3)

comment:1 @ocean9020 months ago

  • Keywords reporter-feedback added

Tested this on my iPhone where I can't drag a widget, I get the accessibility mode. nacin tested it on his iPad where it works "beautifully in fact".

Haven't looked much deep into the code right now, but it seems like it's already optimized for smaller screens. On which devices have you got some trouble?~

Sorry, the accessibility mode was enabled. So scrolling on smaller screens is really tricky.

Last edited 20 months ago by ocean90 (previous) (diff)

comment:2 @ocean9020 months ago

  • Keywords needs-patch added; reporter-feedback removed
  • Milestone changed from Awaiting Review to Future Release

comment:3 @slackbot2 months ago

This ticket was mentioned in Slack in #core by ocean90. View the logs.

Note: See TracTickets for help on using tickets.