Skip to content

UX: fix search results unreachable bottom results and more button #32883

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

Merged
merged 3 commits into from
May 26, 2025

Conversation

chapoi
Copy link
Contributor

@chapoi chapoi commented May 23, 2025

Meta report: https://meta.discourse.org/t/search-in-header-gives-too-deep-results/362973

The general problem of our menu-panel is that it had no proper max-height set, which mean you have to scroll the page instead of the panel to see bottom results. In the new header-search setup however, scrolling the page makes the panel disappear, effectively locking you out.

This commit adds a best-estimate max-height on the parent level menu-panel, dependent on where the search is triggered from (header VS welcome banner)

Old New
CleanShot 2025-05-23 at 14 58 07@2x CleanShot 2025-05-23 at 14 59 30@2x

@chapoi chapoi merged commit 2f3404f into main May 26, 2025
17 checks passed
@chapoi chapoi deleted the fix-search-in-header-overflow branch May 26, 2025 07:40
@discoursebot
Copy link

This pull request has been mentioned on Discourse Meta. There might be relevant details there:

https://meta.discourse.org/t/search-in-header-gives-too-deep-results/362973/7

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

3 participants