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

cuelang.org: delay displaying the site header until the user scrolls some distance #3525

Open
jpluscplusm opened this issue Oct 21, 2024 · 1 comment
Labels
cuelang.org frontend cuelang.org frontend UI/UX related

Comments

@jpluscplusm
Copy link
Collaborator

One more thought: right now the header reappears as soon as I scroll up by a single pixel. I reckon it should take a little bit more than that, because otherwise it reappears extremely easily - for example, when I scroll down with my fingers, sometimes I'm not perfect and I scroll up by a few pixels at the start or end, due to the nature of how my fingers move. This can make the header re-appear when I don't want it to, causing a bit of frustration as it eats into my reading space.

Originally posted by @mvdan in #3058 (comment)

@jpluscplusm
Copy link
Collaborator Author

We can add some logic that will show the header on scroll up after x pixels are scrolled (100 or so?)

Originally posted by @JorindeUsMedia in #3058 (comment)

@jpluscplusm jpluscplusm added frontend cuelang.org frontend UI/UX related cuelang.org labels Oct 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cuelang.org frontend cuelang.org frontend UI/UX related
Projects
Status: Planned
Development

No branches or pull requests

1 participant