-
Notifications
You must be signed in to change notification settings - Fork 1
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: cant see buttons in drawer footer #1642
Conversation
✅ Deploy Preview for detroit-public-staging ready!
To edit notification comments on pull requests, go to your Netlify site configuration. |
✅ Deploy Preview for detroit-partners-staging ready!
To edit notification comments on pull requests, go to your Netlify site configuration. |
✅ Deploy Preview for detroit-partners-prod ready!
To edit notification comments on pull requests, go to your Netlify site configuration. |
I'm still seeing this happen on safari mobile when the search bar is up (woah this screenshot is large) But I remember fixing this before here, granted that might now be a UI-C change... let me know what you think! #1287 |
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.
This looks good. One thing though is that we still unfortunately have the "dev" branch in Detroit due to not having full autonomy over the deployment setup. Could you first merge this in dev and then carry it over to main?
Pull Request Template
Issue Overview
This PR addresses #1641
Description
Allows users to see the buttons in the footer of the filter modal on the public site.
How Can This Be Tested/Reviewed?
You have to test on a mobile device - the issue doesn't appear in the mobile emulator. You can visit the deploy preview link.
This issue in part stems from the fact that the URL across different mobile browsers is in a different place and is a different height, so
100vh
is treated differently. The URL box in latest Safari is on the bottom vs in Chrome it's on the top.There are new dynamic viewport values that take this difference into account on mobile (documentation here). This looks to work great on recent browsers, but because it's new it's not supported across all versions. When the new value is not supported, I'm just manually adding bottom padding below the footer so that the buttons sit above the mobile browser footer. It's not perfect and there's extra space, but the buttons are accessible as a short term fix. You can test this unsupported version in BrowserStack on the iPhone 12 emulator using the deploy preview to see the other styles take effect (also below).
The seeds Dialog and Drawer are close to being merged, and with the uptake of that and the fact that the footer behavior is different in the new one where the footer is sticky, hopefully that will resolve this issue in the long term. We're also chatting next week about what our support is across devices and browsers.
Checklist:
yarn generate:client
and/or created a migration if I made backend changes that require themReviewer Notes:
Steps to review a PR:
On Merge:
If you have one commit and message, squash. If you need each message to be applied, rebase and merge.