Make WordPress Core

Opened 6 years ago

Closed 8 months ago

Last modified 6 months ago

#50820 closed defect (bug) (worksforme)

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

Reported by: theogk's profile theogk Owned by:
Milestone: 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 6 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 6 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 (17)

#1 @whyisjake
6 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
6 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
6 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
6 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
6 years ago

  • Keywords reporter-feedback added

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


6 years ago

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


6 years ago

#12 @afercia
6 years ago

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

@afercia
6 years ago

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

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

  • Version changed from trunk to 5.5

#14 @mindctrl
8 months ago

  • Resolution set to worksforme
  • Status changed from new to closed

Hi all, since this appears to have been a conflict with another plugin, and we don't have any current reports of this behavior after all these years, I'm going to close this ticket to help clean up the backlog in Trac.

If you're still experiencing this issue, feel free to reopen with details on how to reproduce the bug.

#15 @peterwilsoncc
6 months ago

  • Milestone Awaiting Review deleted
Note: See TracTickets for help on using tickets.