WordPress.org

Make WordPress Core

Opened 5 months ago

Last modified 4 months ago

#48646 new defect (bug)

Twenty Twenty: Problem with fade-out effect of mobile menu

Reported by: smatt33 Owned by:
Milestone: Awaiting Review Priority: normal
Severity: normal Version: 5.3
Component: Bundled Theme Keywords: needs-testing
Focuses: javascript Cc:

Description

Hello!

I am using Twenty Twenty for my website with some custom css. I haven't changed too much, just some fonts and colors. I have left the mobile menu almost unchanged. I've changed the following:

  • the color of the menu entries
  • the alignment of the entries (centered)
  • the font-family they use.

My problem occurs when I close the mobile menu. After tapping the close menu button, the fade-out animation kicks in. However, the fade out is not applied to the menu with my customized font and alignment, but to the old menu without my customization (except for the colors, which stay). Fundamentally, there's a brief flash in which the old menu appears for a moment, and then I'm back to the homepage. While minor, it doesn't look very pleasant.

Change History (2)

#1 @ianbelanger
5 months ago

  • Focuses ui removed
  • Keywords needs-testing added

#2 @SergeyBiryukov
4 months ago

  • Summary changed from Problem with fade-out effect of Twenty Twenty's mobile menu to Twenty Twenty: Problem with fade-out effect of mobile menu
Note: See TracTickets for help on using tickets.