Make WordPress Core

Opened 4 years ago

Last modified 4 years ago

#50820 new defect (bug)

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

Reported by: theogk's profile 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 4 years 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 4 years 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
4 years 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
4 years 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
4 years 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
4 years 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
4 years ago

  • Keywords reporter-feedback added

#6 @theogk
4 years 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
4 years 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.


4 years ago

#10 @apedog
4 years 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.


4 years ago

#12 @afercia
4 years ago

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

@afercia
4 years ago

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

@afercia
4 years 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
4 years ago

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