You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix(HeaderServer): prevent reflow during hydration
- Render all navigation items in primary list on SSR (no dropdown fallback)
- Add data-ssr-hydrating attribute to track hydration state
- Remove DOM manipulation that moved items from dropdown to main list
- Add CSS to show horizontal scroll during hydration instead of reflowing
- Update SSR test to match new no-reflow behavior
This eliminates the visible layout shift when HeaderServer hydrates in Next.js.
Items render in natural position and stay there - no jumping or reflowing.
0 commit comments