Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Animations: Navigation Block Mobile Menu Hidden When Inside an Animated Group Block #97746

Open
mxhassani opened this issue Dec 23, 2024 · 1 comment
Labels
Customer Report Issues or PRs that were reported via Happiness. Previously known as "Happiness Request". [Feature] CoBlocks The integration of GoDaddy's CoBlocks plugin on WordPress.com Atomic sites. [Feature Group] Editor Experience Features related to Gutenberg integration on WordPress.com. Needs triage Ticket needs to be triaged [Platform] Atomic [Pri] Low Address when resources are available. [Product] WordPress.com All features accessible on and related to WordPress.com. [Type] Bug

Comments

@mxhassani
Copy link

Quick summary

Having an animation added to a Group block that contains a Navigation block, prevents the navigation block mobile from showing all its content.

Steps to reproduce

  1. Open/create an atomic site
  2. Make sure it uses an FSE theme
  3. Make sure coBlocks plugin is installed and active
  4. Go to the editor
  5. Create a navigation block and add some links to it
  6. Make sure the nav block overlay menu is set to Always or Mobile
  7. Put that nav block inside a group block.
  8. Add an animation to the group block (zoom-in effect is good here)
  9. Save and check in front end

What you expected to happen

The navigation menu to show correctly (full page)

Image

What actually happened

It shows only partially, using only the initial height of the header block.
Image

Impact

Some (< 50%)

Available workarounds?

Yes, easy to implement

If the above answer is "Yes...", outline the workaround.

Removing the animation fixes the navigation menu.

Platform (Simple and/or Atomic)

Atomic

Logs or notes

The issue appears to be mainly caused by the Stacking Context change introduced by the animation effect. Making z-index changes not a suitable solution.

One potential fix can be to move the navigation block to a separate wrapper when the context menu is open, and then move it back when closed.

--
9206041-zen

@mxhassani mxhassani added [Feature Group] Editor Experience Features related to Gutenberg integration on WordPress.com. [Feature] CoBlocks The integration of GoDaddy's CoBlocks plugin on WordPress.com Atomic sites. [Product] WordPress.com All features accessible on and related to WordPress.com. [Type] Bug Needs triage Ticket needs to be triaged labels Dec 23, 2024
@github-actions github-actions bot added [Platform] Atomic [Pri] Low Address when resources are available. labels Dec 23, 2024
Copy link

Support References

This comment is automatically generated. Please do not edit it.

  • 9206041-zen

@github-actions github-actions bot added the Customer Report Issues or PRs that were reported via Happiness. Previously known as "Happiness Request". label Dec 23, 2024
@mxhassani mxhassani changed the title Navigation Block Mobile Menu Hidden When Inside an Animated Group Block Animations: Navigation Block Mobile Menu Hidden When Inside an Animated Group Block Dec 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Customer Report Issues or PRs that were reported via Happiness. Previously known as "Happiness Request". [Feature] CoBlocks The integration of GoDaddy's CoBlocks plugin on WordPress.com Atomic sites. [Feature Group] Editor Experience Features related to Gutenberg integration on WordPress.com. Needs triage Ticket needs to be triaged [Platform] Atomic [Pri] Low Address when resources are available. [Product] WordPress.com All features accessible on and related to WordPress.com. [Type] Bug
Projects
Development

No branches or pull requests

1 participant