-
Notifications
You must be signed in to change notification settings - Fork 13
Open
Description
Autosizer component can calculate it's size only on client side. (by using window API)
So, due to the behavior of the library, menu items will not be rendered during SSR. They will be shown only after hydration. It cause fast "blink" on client side
The autosizer library allows to pass default width and height for SSR. (Example)
The defaultWidth most likely can be calculated from sidebar width (which is constant)
But height depends on the number of menu items, so we need to pass it manually for SSR
Feature request
Please add an ability to pass custom defaultHeight for AsideHeader menu
Fatal1stZ, spotikhanov, dolvik and GoncharovV
Metadata
Metadata
Assignees
Labels
No labels