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

I would like to see a chunk of the menu when its closed. #427

Closed neolectron closed 3 years ago

neolectron commented 3 years ago

Hi,

I think with the current implementation it's not possible right now, I have a working example of the expected look and behavior of what I'm talking about : https://dynamic-frame.ch/

negomi commented 3 years ago

Hi @neolectron,

There isn't anything built in, but it's possible by adding the always visible part as one of the menu items, and styling it with absolute positioning.

Here is a demo of that with the menu open (I have just used an empty div but you can put whatever you like in it):

Screen Shot 2020-12-09 at 6 14 55 PM

And closed:

Screen Shot 2020-12-09 at 6 15 07 PM
neolectron commented 3 years ago

Great, I guess its solved :)