Make WordPress Core

Opened 21 months ago

Last modified 6 months ago

#62451 new defect (bug)

Menu editing broken on mobile

Reported by: androidacy Owned by:
Priority: normal Milestone: Future Release
Component: Menus Version: 6.7
Severity: normal Keywords: needs-patch needs-test-info
Cc: Focuses: administration

Description

On mobile devices, places where elements can be dragged and dropped such as menu editing prevent any clickable items from being clicked (i.e. tapping the down arrow on a menu item does nothing besides initiate a drag).

Tested on: chrome v131

Change History (17)

#1 @im3dabasia1
21 months ago

Hi @androidacy,

Thank you for your first ticket contribution!

Could you please share the steps to reproduce the issue you're experiencing? A screen recording would also be incredibly helpful in understanding and replicating the problem.

#2 @priyankkpatel
21 months ago

Hi @androidacy ,
I tried to reproduce the issue, but I can't. I checked the down arrow button after creating 3 level menu and can click a single one of those.
Please try to check the same in new WordPress setup.
Thanks

#3 @sabernhardt
21 months ago

  • Milestone Awaiting Review6.8

I needed to tap the very edge of the element to expand each menu item in Chrome 130 + Android 11. It seems to have been an issue already in 6.6.2 (and possibly earlier).

#4 @audrasjb
18 months ago

  • Keywords needs-patch added

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


17 months ago

#6 @audrasjb
17 months ago

  • Milestone 6.86.9

As per today's bug scrub: Due to lack of activity on this ticket during this cycle, let's move it to the next milestone.

#7 @vishalkakadiya
16 months ago

Hi @androidacy @sabernhardt,

I tried to reproduce this issue on my end but I can't able to reproduced it.

  • The dropdown for posts/pages selection is working fine, if we click on the label the panel is opening fine for post selections.
  • The drag-drop selection for sorting the order of menu items is also working fine. To open a post which is added to the menu item we must click the right side arrow icon to open it and this behaviour is the same in Desktop as well.

If possible, Can you share the steps to reproduce this for the next steps on this?

Thanks!

#8 @riccardodicurti
15 months ago

I tested this on a real mobile device using Chrome v137 and WordPress 6.8.1.
In the Menus screen (/wp-admin/nav-menus.php), I was able to tap the down arrow to expand menu items without any issues. The drag behavior did not interfere with tapping controls.

It seems the issue reported in Chrome v131 may no longer be present in newer versions.

#9 @androidacy
14 months ago

Still very much an issue on edge (chromium based) mobile 137. Tapping anywhere but the exact edge does not expand as expected.

Sorry for delayed response, notifications are getting sent to spam

#10 @androidacy
14 months ago

https://limewire.com/d/GzUWg#DubRI9ZABw screen recording (link expires in a week)

#11 follow-up: @mehul0810
14 months ago

I have tested with WP version 6.8.1 and able to replicate the issue.

Steps to reproduce

  1. Go to Appearance > Editor > Navigation
  2. Ensure that you have atleast 3-4 menu items already there
  3. Issue: the drag and drop of menu items and the 3 dots to the right of each menu item visibility on hover doesn't work
  4. After investigating it seems that it is not an issue with screen size. But, it seems that the touch event is not working properly. So, when you "Inspect Element" and switch to see responsive screens where touch event is enabled, the issues mentioned in point (3) wont work in any screen size.

See here: https://share.cleanshot.com/Tgf89LFMCcKtf0cYt4lX

#12 in reply to: ↑ 11 @SirLouen
14 months ago

Replying to mehul0810:

I have tested with WP version 6.8.1 and able to replicate the issue.

Hi mehul, It's always useful to provide some testing environments attached to your steps
When making a report like this, I would recommend you to use the plugin "Test Reports", as it provides a little easy template with all the most useful system environments for a quick copy/paste

#13 @mehul0810
14 months ago

@SirLouen Thanks for the details. Please find the reproduction report below.

Reproduction Report

Description

This report validates whether the issue can be reproduced.

Environment

  • WordPress: 6.8.1
  • PHP: 8.3.0-dev
  • Server: PHP.wasm
  • Database: WP_SQLite_Translator (Server: 5.5 / Client: 3.40.1)
  • Browser: Chrome 137.0.0.0
  • OS: macOS
  • Theme: Twenty Twenty-Five 1.2
  • MU Plugins: None activated
  • Plugins:
    • Test Reports 1.2.0

Actual Results

  1. ✅ Error condition occurs (reproduced)

Steps to Reproduce

  1. Go to Appearance > Editor > Navigation
  2. Ensure that you have atleast 3-4 menu items already there
  3. Issue: the drag and drop of menu items and the 3 dots to the right of each menu item visibility on hover doesn't work
  4. After investigating it seems that it is not an issue with screen size. But, it seems that the touch event is not working properly. So, when you "Inspect Element" and switch to see responsive screens where touch event is enabled, the issues mentioned in point (3) wont work in any screen size.

Supplemental Artifacts

https://share.cleanshot.com/Tgf89LFMCcKtf0cYt4lX

#14 @fclaussen
10 months ago

I just tested this and I can tap the arrow just fine.

  • Google Pixel 8 pro
  • Chrome 141.0.7390.70
  • WordPress 6.7 AND 6.8.3

https://www.youtube.com/shorts/_2O7v_A6pHM

Version 0, edited 10 months ago by fclaussen (next)

#15 @wildworks
9 months ago

  • Keywords needs-test-info added
  • Milestone 6.97.0

In this issue, I think it seems unclear what exactly should be tested first. It also seems unclear in this ticket whether "menu" refers to one of the following two options:

We need accurate information on which menu items should be tested.

Since it's not yet clear which one we should test at this point, I'd like to punt it to 7.0.

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


6 months ago

#17 @audrasjb
6 months ago

  • Milestone 7.0Future Release

As per today's 7.0 bug scrub:
Moving to Future Release as the ticket wasn't updated since cycle 6.9 and no patch is available (still investigating on reproduction steps).

Note: See TracTickets for help on using tickets.