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

Customize position of menu #445

Closed carterfa closed 3 years ago

carterfa commented 3 years ago

The current burger menu opens up from the right or left but I would like the option for it to open from the bottom or top. Any chance of getting this feature added or should I just try a work-around using the pre-existing styles?

negomi commented 3 years ago

Hi @carterfa,

No plans to add top/bottom functionality at this point.

If you can come up with a workaround just using styles, that's probably your best option.

There was an attempt a few years ago to add the functionality, but it wasn't fully working so the PR unfortunately never got merged: https://github.com/negomi/react-burger-menu/pull/198