react-pro-sidebar
react-pro-sidebar copied to clipboard
hide sidebar and dealing as drawer
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?
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
Breakpoint not working Its only working for small screen
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.