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

site-header artifact on mobile pull down [refresh] #10

Open
kjloveless opened this issue Oct 12, 2024 · 1 comment
Open

site-header artifact on mobile pull down [refresh] #10

kjloveless opened this issue Oct 12, 2024 · 1 comment

Comments

@kjloveless
Copy link

kjloveless commented Oct 12, 2024

Pretty sure this line is causing the site-header to partially appear when pulling down on the page to refresh (mobile).

showMenu ? "translate-y-1px" : "-translate-y-full"

In my deno port i changed to look like like:

{showMenu && (
        <div
          className="fixed top-16 z-30 w-full overflow-hidden border-b bg-background/80 transition-transform duration-500 md:hidden"
          aria-hidden={!showMenu}
...
@kjloveless
Copy link
Author

here's an image better showing the issue image

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

No branches or pull requests

1 participant