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

Prevent scrolling behind search modal #381

Closed
wants to merge 8 commits into from
Closed

Conversation

iandunn
Copy link
Member

@iandunn iandunn commented Mar 30, 2023

Fixes #371
Closes #382

previously it was white below the fold b/c the modal content doesn't fill the screen and the bg gets inherited from `body`
previously it was at `top: 0` from the start of `<html>` instead of the start of the viewport.
@iandunn iandunn self-assigned this Mar 30, 2023
@iandunn
Copy link
Member Author

iandunn commented Mar 30, 2023

This is still a WIP. I found a few edge cases after applying the hotfix and fixed those, but there's at least 1 more that I'm working on.

previously in safari the content bg color would change to grey
… way, but this olso cause problems

gap removed under 600px, and at tablet breakpoint, but still exists between the two
@iandunn
Copy link
Member Author

iandunn commented Apr 3, 2023

I tried another approach in #382 and that seems more promising at the moment. I'll keep this open until that's finalized, though.

@iandunn
Copy link
Member Author

iandunn commented Apr 25, 2023

#392 will fix this

@iandunn iandunn closed this Apr 25, 2023
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

Successfully merging this pull request may close these issues.

Search: Mobile overlay does not properly lock the screen in place
1 participant