-
Notifications
You must be signed in to change notification settings - Fork 41
feat: toggle side menu in small screen mode #429
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: toggle side menu in small screen mode #429
Conversation
Visit the preview URL for this PR (updated for commit 55b6537): https://tanam-testing--pr429-issue-423-cant-close-w0bg3b0u.web.app (expires Fri, 30 Aug 2024 06:21:51 GMT) 🔥 via Firebase Hosting GitHub Action 🌎 Sign: 5bbe8a1a68d9684d656bffba10008fe532204561 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@@ -47,6 +36,30 @@ const Sidebar = ({sidebarOpen, setSidebarOpen}: SidebarProps) => { | |||
return () => document.removeEventListener("keydown", keyHandler); | |||
}); | |||
|
|||
// close sidebar when page is changed or window resize |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Loving that detail 👏
…se-side-menu-in-small-screen-mode
…se-side-menu-in-small-screen-mode
What's new:
Closes #423
Screenshoot:
Screen.Recording.2024-08-16.at.10.34.37.mov