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

Sticky menu bar not working properly on mobile #11

Open
pkgw opened this issue Oct 13, 2022 · 0 comments
Open

Sticky menu bar not working properly on mobile #11

pkgw opened this issue Oct 13, 2022 · 0 comments
Labels
good first issue Good for newcomers

Comments

@pkgw
Copy link
Contributor

pkgw commented Oct 13, 2022

When reading a book on mobile, the menu bar / title header should be "semi-sticky": it appears at the top of the screen and scrolls off as you scroll down, but then re-appears if you scroll up a bit, no matter how far down you've scrolled. This is a pretty common mobile UX.

I copied code from mdbook to implement this, but it's not working for me (on Firefox for Android). The menu bar is just always remaining in view. I probably just missed or messed up the CSS.

@pkgw pkgw added the good first issue Good for newcomers label Oct 13, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

1 participant