react-pro-sidebar icon indicating copy to clipboard operation
react-pro-sidebar copied to clipboard

hide sidebar and dealing as drawer

Open Kenan-Hussein opened this issue 4 years ago • 2 comments

How can hide sidebar or call toggleSidebar(); when click outside?

Also is it possible to open or close the sidebar as we do in a mobile app like drag it from the side?

Kenan-Hussein avatar Jan 11 '21 18:01 Kenan-Hussein

You can add breakpoint prop to activate the toggling behavior, check the API reference table for more use cases

Unfortunately the drag behavior is not supported

azouaoui-med avatar Jan 14 '21 17:01 azouaoui-med

Breakpoint not working Its only working for small screen

Misbah-Mushtaq avatar Jul 31 '21 20:07 Misbah-Mushtaq

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.

stale[bot] avatar Oct 05 '22 19:10 stale[bot]