-
Notifications
You must be signed in to change notification settings - Fork 90
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
Density-aware overlay close-button spacing #3533
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
🦋 Changeset detectedLatest commit: 1d19f54 The changes in this PR will be included in the next version bump. This PR includes changesets to release 1 package
Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
9761e6c
to
6a43822
Compare
Converted to draft due to the scrollbar overlapping the close button |
Talked to @bhoppers2008 about this while dev'ing, and we decided that the scrollbar/close-button overlap was the least bad of all the current options. I guess our options are:
My view is that the happy-path is when all the content fits inside the overlay panel (thus no scrolling), so option 4 wouldn't be a sensible ROI 🤷 Thoughts? |
Given long content isn't a common scenario, and overlapping with close button looks particularly bad on Windows, can we do
I think |
Is this ready for review? Design decision made yet? |
ccb71de
to
0cdacd0
Compare
0cdacd0
to
bb9d18d
Compare
After talking to @bhoppers2008 we're going to revisit the scrollbar position in the future, but for now we're going with |
bb9d18d
to
e7515b0
Compare
e7515b0
to
3b6b176
Compare
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 in chrome/safari/firefox on Mac
Closing now that we have a new approach from design: #3839 |
Adjusts the right-hand spacing of
<OverlayPanelContent>
to match the width of the close button in all densities.Touch density
Medium density