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

Fix search box out of screen #2650

Merged
merged 4 commits into from Mar 7, 2021
Merged

Conversation

askvortsov1
Copy link
Sponsor Member

Fixes #2621

Changes proposed in this pull request:
Set search results max height programatically instead of relying on 70vh, as elements like fof links might mess this up.

@askvortsov1 askvortsov1 force-pushed the as/fix-search-box-out-of-screen branch from 0790816 to 1a631c2 Compare March 3, 2021 14:15
@askvortsov1 askvortsov1 requested a review from SychO9 March 5, 2021 15:10
Copy link
Member

@clarkwinkelmann clarkwinkelmann left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Tested locally (with desktop tools) and seems to work well.

It does not react to window.onresize though, so being in oncreate or onupdate probably won't change anything if the browser resizes due to keyboard. It's however a good thing in case it needs updating while you type additional things.

@askvortsov1 askvortsov1 merged commit 3aa118a into master Mar 7, 2021
@askvortsov1 askvortsov1 deleted the as/fix-search-box-out-of-screen branch March 7, 2021 21:31
askvortsov1 added a commit that referenced this pull request Apr 9, 2021
Identified as a potential issue in #2650

When typing, the keyboard generally obstructs half the screen. However, when the keyboard is closed, search results don't expand to take up full space.
askvortsov1 added a commit that referenced this pull request Apr 19, 2021
Identified as a potential issue in #2650

When typing, the keyboard generally obstructs half the screen. However, when the keyboard is closed, search results don't expand to take up full space.
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 results cannot be scrolled fully on small mobile screens
3 participants