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

CSS Safe area insets #1372

Open
kevinsimper opened this issue Jul 5, 2023 · 2 comments
Open

CSS Safe area insets #1372

kevinsimper opened this issue Jul 5, 2023 · 2 comments

Comments

@kevinsimper
Copy link

A lot of alerts in Sqoosh are showed at the bottom of the screen and the app does not take into account safe areas.

It can be implemented with CSS to push up elements to not touch the bottom of the screen :)
https://developer.mozilla.org/en-US/docs/Web/CSS/env

Really nice with Sqoosh be a prime example of a PWA, so only want to help 👏

@jakearchibald
Copy link
Collaborator

Can you give an example of a device where this is causing an issue? I thought env was only useful in certain full screen situations.

@kevinsimper
Copy link
Author

Here is the PWA added to Home Screen, so no Safari Chrome.
16887534705591232492200957242787
Here is a iPhone 14 Pro and some interactions are ignored because it thinks you are touching the app switcher.

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

2 participants