WordPress.org

Make WordPress Core

Opened 8 weeks ago

Last modified 6 weeks ago

#50820 new defect (bug)

Admin side menu items hover doesn't work on version 5.5-RC1-48687

Reported by: theogk Owned by:
Milestone: Awaiting Review Priority: normal
Severity: critical Version: 5.5
Component: Menus Keywords: reporter-feedback
Focuses: ui, administration Cc:

Description

When in admin, the hover doesn't work on the menu items on the main left menu. If I click an item, its floating submenu appears instantly but then disappears as the clicked page loads.

Attachments (2)

5.4 with jquery-migrate.jpg (308.0 KB) - added by afercia 8 weeks ago.
To better clarify: this is what happens on 5.4 where jquery-migrate remediates to the usage of jQuery live()
5.5 without jquery-migrate.jpg (270.5 KB) - added by afercia 8 weeks ago.
And this is what happens on 5.5 where the Uncaught TypeError breaks most of the admin functionalities: Media Library grid, Themes page, Plugins page, Widgets page, Menus page, Quick Edit, modals, to name a few.

Download all attachments as: .zip

Change History (15)

#1 @whyisjake
8 weeks ago

Hey there @theogk.

I think this is the intended behavior as the entire page is loading in a new page. Since the DOM structure is changing the mouse would need to hover again to bring out the menu.

#2 @theogk
8 weeks ago

Is it intended for the hover action to not work? I hover my mouse over a menu item which contains a submenu and nothing happens

#3 @afercia
8 weeks ago

  • Keywords reporter-feedback added

@theogk thanks for your first report and welcome to Trac!

I'm not sure I fully understand the issue.
As @whyisjake mentioned above, when you click an item in the left menu, a new page loads and the submenu of the clicked item is then displayed expanded.

Hovering on other menu items shows the fly-out menus for me.

Can you confirm that the bug you're experiencing still exists with the default theme (Twenty Twenty) activated and all plugins deactivated?

#4 @apedog
8 weeks ago

  • Keywords reporter-feedback removed

Works fine for me.
You should test this issue with no activated plugins and a default theme.
WP admin sub-menus are opened with a script that adds class "opensub" to the parent item.
In some likelihood you have a plugin with a script throwing an error and breaking the menu script.

#5 @apedog
8 weeks ago

  • Keywords reporter-feedback added

#6 @theogk
8 weeks ago

Found it. It appears to be an issue with WP All Import Pro plugin by Soflyy. When I disable it, hover works again as always. If I enable it and go back to 5.4.3, everything works fine also. The issue only appears on 5.5

I guess someone has to tell them. Sorry if it was a mistake to post this, I just started experimenting with dev versions.

#8 @theogk
8 weeks ago

Sounds possible. Just found out screen options ( https://prnt.sc/trelk0 ) don't work either. I opened a ticket at Soflyy to check these problems out. Probably there are other plugins out there which will face issues like this in 5.5

This ticket was mentioned in Slack in #core-js by apedog. View the logs.


8 weeks ago

#10 @apedog
8 weeks ago

Sorry if it was a mistake to post this

It was not a mistake to post this. This is not the only plugin breaking the admin-side's javascript when upgrading to 5.5-RC1

Related: #37110

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


8 weeks ago

#12 @afercia
8 weeks ago

FWIW, I reported the issue on the WP All Import support forum: https://wordpress.org/support/plugin/wp-all-import/

@afercia
8 weeks ago

To better clarify: this is what happens on 5.4 where jquery-migrate remediates to the usage of jQuery live()

@afercia
8 weeks ago

And this is what happens on 5.5 where the Uncaught TypeError breaks most of the admin functionalities: Media Library grid, Themes page, Plugins page, Widgets page, Menus page, Quick Edit, modals, to name a few.

#13 @desrosj
6 weeks ago

  • Version changed from trunk to 5.5
Note: See TracTickets for help on using tickets.