Skip to content
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

🐛 Fix popover and dropdown on mobile sidebar #501

Merged
merged 2 commits into from
Nov 7, 2024

Conversation

xendke
Copy link
Contributor

@xendke xendke commented Nov 7, 2024

I noticed my previous PR introduced an issue on mobile viewports 😱 :

before.mp4

This PR fixes the issue! I took some time to look at the other uses of <DropdownMenu/> to make sure they work as expected in mobile and desktop viewports. Also fixed UserMenu's Popover which was having the same issue as shown above.

after.mp4

Separately, I noticed some small UI issues that only happened if the viewport was exactly 768px so I took care of those as well:

  • missing header and footer in sidebar
  • library settings header padding offset
Screenshots

Before

After

@xendke xendke changed the title 🐛 Fix popover and dropdown on mobile 🐛 Fix popover and dropdown on mobile sidebar Nov 7, 2024
Copy link
Collaborator

@aaronleopold aaronleopold left a comment

Choose a reason for hiding this comment

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

I pulled these changes down and didn't see anything out of place, so looks good to me!

Thanks again for your contribution and for the detailed description! 🙂

@aaronleopold aaronleopold merged commit 9bd3625 into stumpapp:experimental Nov 7, 2024
6 checks passed
@aaronleopold aaronleopold mentioned this pull request Dec 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants