PageLayout.Header + PageLayout.Footer not rendered with SSG #2812
Labels
bug
Something isn't working
component: SplitPageLayout
Issues related to the PageLayout and SplitPageLayout components
react
Description
When using
PageLayout
and server-side generation usingnext build
+next export
using Next.js v13.1.5 -PageLayout.Header
andPageLayout.Footer
are not rendered as part of SSG, and are only displayed when JavaScript is enabled on the client.This behavior is disruptive as it can affect accessibility, layout shifts, and search engine visibility, as page titles may not be rendered without executing JavaScript.
The expected behavior would be that
PageLayout.Header
andPageLayout.Footer
can be rendered using SSG in the same way asPageLayout.Content
andPageLayout.Pane
.Steps to reproduce
Test 1
Result: Content and Pane are visible. Header and Footer are not visible.
Expected: Header and Footer would also be visible.
Test 2
Result: Content and Pane are rendered. Header and Footer are not rendered. Dividers are not rendered.
Expected: Header + Footer + dividers would also be rendered.
Note
position
attribute.Version
v35.18.0
Browser
Chrome, Firefox
The text was updated successfully, but these errors were encountered: