We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
When using the hideOnPageScroll Feature in combination with a subnavbar and/or list-groups, it does not work as expected:
What I expect when navbar is hidden on page scroll:
This is an example (see "store" subpage with items loaded): https://codesandbox.io/p/devbox/sweet-lamarr-hvq5m7?workspaceId=36dfb8d7-565d-4fd8-9919-e9f1d23fdc4c
This is my css workaround, perhaps it would be better to add a page-level css-class for hidden navbar?
.page:has(> .navbar-hidden) .list-group-title { top: calc(-1 * (var(--f7-navbar-height) + var(--f7-subnavbar-height))); } .navbar-hidden { transform: translate3d(0, calc(-1 * (var(--f7-navbar-height) + var(--f7-subnavbar-height))), 0); } .navbar-hidden ~ .subnavbar { transform: translate3d(0, calc(-1 * (var(--f7-navbar-height) + var(--f7-subnavbar-height))), 0); }
The text was updated successfully, but these errors were encountered:
No branches or pull requests
When using the hideOnPageScroll Feature in combination with a subnavbar and/or list-groups, it does not work as expected:
What I expect when navbar is hidden on page scroll:
This is an example (see "store" subpage with items loaded):
https://codesandbox.io/p/devbox/sweet-lamarr-hvq5m7?workspaceId=36dfb8d7-565d-4fd8-9919-e9f1d23fdc4c
This is my css workaround, perhaps it would be better to add a page-level css-class for hidden navbar?
The text was updated successfully, but these errors were encountered: