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

Avoid unwanted showing/hiding of search bar on mobile when scrolling #1914

Merged
merged 1 commit into from
Jun 6, 2024

Conversation

DavidOliver
Copy link
Contributor

Fixes #1913

Please note the removal of the code commented with "Add 'scroll-sticky' class when not at the top". This removal stops the search bar from appearing when a fragment identifier link is loaded, preventing the obscuring of content of linked-to sections, such as a heading. Is there any reason this code should stay?

Fixes elixir-lang#1913

Also stops the search bar from appearing when a fragment identifier link
is loaded, preventing the obscuring of content of linked-to sections.
@josevalim
Copy link
Member

@DavidOliver yes, we don't know to show it on anchors. As long as the sidebar shows up when scrolling up, it is fine to remove it.

@DavidOliver
Copy link
Contributor Author

@josevalim, thanks. The search bar is still showing when scrolling up.

@josevalim josevalim merged commit 0fdf71e into elixir-lang:main Jun 6, 2024
4 checks passed
@josevalim
Copy link
Member

💚 💙 💜 💛 ❤️

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.

Mobile: Search bar is too sensitive to page scroll
2 participants