-
Notifications
You must be signed in to change notification settings - Fork 2k
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
Navigation Block Mobile Menu in FSE won't work until after all site content has loaded. #63515
Comments
Some questions;
Thanks! |
Hey @Greatdane,
Yes, that's right.
In the template editor, you'll need to add a navigation block into your header (although this probably happens anywhere the block is added) and then make sure that it's set to show the mobile menu. The setting is here. "Mobile" and "Always" should re-produce the issue, but with "Mobile" you'll need to view the site on a mobile view. |
This looks to be an issue with an ads file that is loading very slowly. I have reached out to see if this is something that we can speed up on our end at all as that is the file that is blocking the other resources from loading here. pMyNb-5kb-p2_consent-request-loading-time/ |
Although ads file is taking time to load, the theme and its menu shouldn't wait for the 3rd party ad server or any other 3rd party request to complete, as discussed in pMyNb-5kb/#comment-16269 So this is nothing to do with ads, and back to the theme's purview. |
To my research - it's definitely the javascript for the menu being blocked until the page load is complete. This might be theme related - but could also be something that the core Navigation block is doing by default. |
Confirmed this is a bug in Gutenberg itself - so we've not got an open issue for that. |
Confirmed that this is still reproducible. Asked about how we can triage core fix issues here: p1720755406642149/1720683311.692079-slack-C01UW7SB411 @Automattic/dotcom-product-ambassadors |
I got back to you in Slack. Apologies for the delay @candy02058912 |
Quick summary
The mobile menu on an FSE site will not function until all of the site content is loaded. This is particularly a problem with ads as they generally take a little bit longer to load.
Steps to reproduce
What you expected to happen
The mobile menu should open.
What actually happened
The mobile menu is unresponsive and seems to stay that way for a few minutes after the ads load.
Context
5207111-zen
Simple, Atomic or both?
Simple, Atomic
Theme-specific issue?
I think it's with FSE in general. We tested with Russel and Skatepark
Browser, operating system and other notes
No response
Reproducibility
Consistent
Severity
Some (< 50%)
Available workarounds?
No but the platform is still usable
Workaround details
No response
The text was updated successfully, but these errors were encountered: