Make WordPress Core

Opened 4 years ago

Last modified 4 years ago

#48646 new defect (bug)

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

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

  • Focuses ui removed
  • Keywords needs-testing added

#2 @SergeyBiryukov
4 years 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.