WordPress.org

Make WordPress Core

Opened 6 months ago

Last modified 6 months ago

#47132 new defect (bug)

Admin menu: sub-items not visible while clicking with some alternate color schemes

Reported by: rahimvaziri Owned by:
Milestone: Future Release Priority: normal
Severity: normal Version:
Component: Administration Keywords: has-screenshots has-patch
Focuses: ui Cc:
PR Number:

Description

Hello WordPress,
Thank you for everything.

In the light theme of dashboard, whenever I press the home button, the dark color appears which should not be like this. http://prntscr.com/nl2tfv

Kind regards,
Rahim

Attachments (3)

01 Screenshot 2019-05-06 at 19.13.11.png (51.5 KB) - added by afercia 6 months ago.
02 Screenshot 2019-05-06 at 19.13.53.png (73.3 KB) - added by afercia 6 months ago.
47132.diff (494 bytes) - added by mukesh27 6 months ago.
Patch.

Download all attachments as: .zip

Change History (9)

#1 @man4toman
6 months ago

  • Component changed from General to Administration
  • Focuses ui added
  • Keywords close added
  • Version 5.1.1 deleted

Hi @rahimvaziri
I can't reproduce the problem, everything is OK to me.

#2 @rahimvaziri
6 months ago

Hi @man4toman
Thank you for your fast reply.

I am sorry, I addressed you wrong.
Just hover on the dashboard icon, and when you see the Home and Updates, press the Dashboard icon, you will see the matter that I made it as a ticket.

http://prntscr.com/nl4znk

Regards,
Rahim

#3 @afercia
6 months ago

  • Keywords has-screenshots needs-patch added; close removed
  • Milestone changed from Awaiting Review to Future Release

I'm able to reproduce following these steps:

  • set the "Light" color scheme under Users > Your Profile > Admin Color Scheme
  • collapse the admin menu
  • go to the admin dashboard page wp-admin/index.php
  • click and hold on the icon

Worth noting it happens on any "active" top level menu item, see attached screenshots.

#4 @afercia
6 months ago

  • Summary changed from UI BUg to Admin menu: sub-items not visible while clicking with some alternate color schemes

@mukesh27
6 months ago

Patch.

#5 @mukesh27
6 months ago

  • Keywords has-patch added; needs-patch removed

#6 @man4toman
6 months ago

Thanks @mukesh27
I think the patch must be for folded class, maybe for these:

#adminmenu .wp-submenu,
.folded #adminmenu .wp-has-current-submenu .wp-submenu,
.folded #adminmenu a.wp-has-current-submenu:focus + .wp-submenu {
    padding: 7px 0 8px;
    z-index: 9999;
    background-color: #32373c;
    box-shadow: 0 3px 5px rgba(0,0,0,.2);
}
Note: See TracTickets for help on using tickets.