WordPress.org

Make WordPress Core

Opened 5 months ago

Last modified 8 weeks 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:

Description

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 (2)

comment:1 ocean908 weeks 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 8 weeks ago by ocean90 (previous) (diff)

comment:2 ocean908 weeks ago

  • Keywords needs-patch added; reporter-feedback removed
  • Milestone changed from Awaiting Review to Future Release
Note: See TracTickets for help on using tickets.