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

The subheader overlaps the main header when disabling the subheader stickiness #181

Open
4oh3 opened this issue Feb 10, 2025 · 0 comments
Open
Labels
bug Something isn't working

Comments

@4oh3
Copy link

4oh3 commented Feb 10, 2025

Describe the bug

When the <wa-page> element has the attribute with the value of disable-sticky="subheader" (while the <header slot="header"> element defaults to being sticky), the <nav slot="subheader"> element overlaps the <header slot="header"> while scrolling past it.

To Reproduce

Steps to reproduce the behavior:

  1. Add the <wa-page disable-sticky="subheader">, <header slot="header"> and the <nav slot="subheader"> elements
  2. Add some content within the <main> element to provide some vertical overflow scroll
  3. Scroll down a few 100 px's
  4. Note the subheader overlapping the main header

Screenshots

Image

@4oh3 4oh3 added the bug Something isn't working label Feb 10, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant