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

Style modal as a sheet on mobile web resolutions #787

Open
mattybow opened this issue Nov 30, 2021 · 0 comments
Open

Style modal as a sheet on mobile web resolutions #787

mattybow opened this issue Nov 30, 2021 · 0 comments

Comments

@mattybow
Copy link
Contributor

Modals on mobile web resolutions tend to obscure the main page's content entirely. They're often used in place of a (bottom) sheet on mobile, however, sometimes the sheet only comes up halfway up the page, which allows the user to still see the context of the page that they originally were on.

My proposal is just to make a small change to the styling of the modal container for mobile web such that it shows a tiny bit of the content behind the modal. Adding features like swipe to dismiss, expand while scrolling, initial height, etc can be done as separate items.

Here is a preview

modal.sheet.mov
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

No branches or pull requests

1 participant