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
{{ message }}
This repository was archived by the owner on Dec 16, 2025. It is now read-only.
Repository navigation
This repository was archived by the owner on Dec 16, 2025. It is now read-only.
EuiNavDrawer isLocked prop does not shift main content to the right #5
The EuiNavDrawer by design does not automatically shift content based on the isLocked status. This must be handled by the consuming application, you can see how this is handled in the docs example by looking at the .euiNavDrawerPage__pageBody selector.
However, we will soon be deprecating EuiNavDrawer for EuiCollapsibleNav which will help with automatically shifting body content based on locked state.
Thanks @cchaos. So technically there's nothing to fix for this issue, however I'll leave it open until I've updated the starter to use EuiCollapsibleNav.
Activity
cchaos commentedon May 21, 2020
Hi @nandorojo!
The EuiNavDrawer by design does not automatically shift content based on the
isLockedstatus. This must be handled by the consuming application, you can see how this is handled in the docs example by looking at the.euiNavDrawerPage__pageBodyselector.However, we will soon be deprecating EuiNavDrawer for EuiCollapsibleNav which will help with automatically shifting body content based on locked state.
Note: This repo is specifically for the Next-JS starter and not where we actually develop EUI. If you need to submit more component-specific issues, I'd recommend doing so in https://github.com/elastic/eui
pugnascotia commentedon May 21, 2020
Thanks @cchaos. So technically there's nothing to fix for this issue, however I'll leave it open until I've updated the starter to use
EuiCollapsibleNav.nandorojo commentedon May 21, 2020
Got it, thank you both for the help! I’ll try out
EuiCollapsibleNavinstead.Big fan of your work, thanks for an awesome library.
pugnascotia commentedon Jun 5, 2020
So it turns out
EuiCollapsibleNavneeds updating to work with SSR first. Hey ho.nandorojo commentedon Jul 19, 2020
I can close this for now and just lazy-load in
EuiCollapsibleNav. Thanks again.