negomi / react-burger-menu

:hamburger: An off-canvas sidebar component with a collection of effects and styles using CSS transitions and SVG path animations
http://negomi.github.io/react-burger-menu/
MIT License
5.05k stars 586 forks source link

Push - sidebars should push the main content aside. #361

Closed billshannon closed 4 years ago

billshannon commented 4 years ago

When implementing left and right sidebars is there a way to push the main content aside?

hocineismail commented 4 years ago

when i used pageWrapid push work well, now try to follow this structure <div id="outer-container"> <Menu pageWrapId={ "page-wrap" } outerContainerId={ "outer-container"} /> <main id="page-wrap"> ....... </main> </div>

negomi commented 4 years ago

Hi @billshannon,

Push should actually push the main content aside, yes. I haven't actually tried it with left and right sidebars though.

What problem are you seeing? If you can paste your code, I'll try to reproduce it.

stale[bot] commented 4 years ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.