-
Notifications
You must be signed in to change notification settings - Fork 15
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: Unable to open settings menu on mobile when action sidebar is open #2567
Conversation
<PillsBase | ||
className="bg-success-100 text-success-400" | ||
isCapitalized={false} | ||
<div className="relative"> |
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.
here is not that much changes, only added this div with relative class. I desided create a new div because when I added it to line below header border was hidden under opened settings menu
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.
*decided 😛
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.
Great job! This all looks good to me, and the settings menu appears unaffected elsewhere - nice fix 👍
Screen.Recording.2024-06-18.at.17.20.41.mov
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.
Tested and can confirm it now works, I can open the settings menu while having an action open as well.
Nice solution. 💯
Screencast.from.2024-06-19.00-00-18.webm
<PillsBase | ||
className="bg-success-100 text-success-400" | ||
isCapitalized={false} | ||
<div className="relative"> |
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.
*decided 😛
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.
Nice one @Nortsova, everything working as expected here! Appreciate your work 🌵
Description
Fixed opening settings in action sidebar. The problem was that the settings had top:
100% !important
, which helped position it under the header. However, in the case of the action sidebar, the "relative"-fixed value was higher on the wrapper with the header plus action form, so the settings screen was positioned down, under the action form.Position: relative on the correct div fixed that.
Testing
Resolves #2548