这是indexloc提供的服务,不要输入任何密码
Skip to content

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

Conversation

muzanella11
Copy link
Contributor

@muzanella11 muzanella11 commented Aug 16, 2024

What's new:

  • Add ability toggle side menu in small screen mode
  • Improve toggle side menu behavior when page is changed or window resized

Closes #423

Screenshoot:

Screen.Recording.2024-08-16.at.10.34.37.mov

@muzanella11 muzanella11 added this to the Improvements Aug24 milestone Aug 16, 2024
@muzanella11 muzanella11 self-assigned this Aug 16, 2024
@muzanella11 muzanella11 linked an issue Aug 16, 2024 that may be closed by this pull request
@muzanella11 muzanella11 marked this pull request as ready for review August 16, 2024 03:47
Copy link

github-actions bot commented Aug 16, 2024

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

Copy link
Member

@DennisAlund DennisAlund left a 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
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Loving that detail 👏

@DennisAlund DennisAlund merged commit b4ae315 into milestone/11-improvement-aug24 Aug 23, 2024
3 checks passed
@DennisAlund DennisAlund deleted the issue/423-cant-close-side-menu-in-small-screen-mode branch August 23, 2024 09:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

Can't close side-menu in small screen mode
3 participants