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

Hide feeds topbar on scroll #3108

Merged
merged 1 commit into from
Mar 5, 2024
Merged

Hide feeds topbar on scroll #3108

merged 1 commit into from
Mar 5, 2024

Conversation

gaearon
Copy link
Collaborator

@gaearon gaearon commented Mar 5, 2024

This is a slight iteration on #3077.

This still uses position: sticky, but I'm bringing back the auto-hide behavior for the bottom part. So it combines the old and the new behaviors. Since the part being animated is narrow again, I think it strikes a nice balance — it doesn't feel too noisy when it hides or shows, and it frees up some vertical screen estate that #3077 has claimed.

autocollapse_top.mov

@gaearon gaearon merged commit 20b88f4 into main Mar 5, 2024
4 checks passed
@gaearon gaearon deleted the hide-header-on-scroll branch March 5, 2024 16:45
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.

2 participants