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

MegaMenu doesn't use SSR for dropdown content #1403

Open
2 tasks done
jancbeck opened this issue May 27, 2024 · 1 comment
Open
2 tasks done

MegaMenu doesn't use SSR for dropdown content #1403

jancbeck opened this issue May 27, 2024 · 1 comment

Comments

@jancbeck
Copy link

  • I have searched the Issues to see if this bug has already been reported
  • I have tested the latest version

Steps to reproduce

  1. Copy Mega Menu Default Example (server.tsx) to into Next.js Server Component (v14.2.2)
  2. "View source" in browser

Current behavior

The content of the dropdown is only rendered when interacting with the dropdown trigger.

Expected behavior

The content of the dropdown should be pre-rendered on the server and hidden on page load.

Context

Hiding substantial parts of a site's main navigation can have terrible effects to search engine's indexability.

@SutuSebastian
Copy link
Collaborator

CC @tulup-conner

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants