-
Notifications
You must be signed in to change notification settings - Fork 4
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
Protocol - header disappearing in Safari #1392
Comments
Well that's a weird one 😅 Thanks for the report, we'll dig in to this when we're back from Christmas break! |
Spent a couple minutes just trying to at least diagnose the cause, it looks like it’s because of the |
@adamwathan Thanks very much for looking into this. May your holiday be blessed with the love and warmth of family and friends. Merry Christmas 🎄 |
Hey @cloudgrind, thanks for reporting this! We have now resolved the issue and updated the template download. For reference the changes were to line 42 of 'fixed inset-x-0 top-0 z-50 flex h-14 items-center justify-between gap-12 px-4 transition sm:px-6 lg:left-72 lg:z-30 lg:px-8 xl:left-80', And the <motion.header
layoutScroll
className="contents lg:pointer-events-none lg:fixed lg:inset-0 lg:z-40 lg:flex"
>
<div className="contents lg:pointer-events-auto lg:block lg:w-72 lg:overflow-y-auto lg:border-r lg:border-zinc-900/10 lg:px-6 lg:pt-4 lg:pb-8 lg:dark:border-white/10 xl:w-80">
<div className="hidden lg:flex">
<Link href="/" aria-label="Home">
<Logo className="h-6" />
</Link>
</div>
<Header />
<Navigation className="hidden lg:mt-10 lg:block" />
</div>
</motion.header> Thanks again! |
What component (if applicable)
Describe the bug
Noticed weird behavior in Safari (both MacOS and iPadOS) 😅. When you add more menu items to the sidebar forcing the Y overflow, the header completely disappears. Can also be replicated by simply opening the preview (https://protocol.tailwindui.com/) in Safari and resizing the window vertically to force the scroll in the sidebar.
To Reproduce
As described above.
Expected behavior
The header shouldn't disappear
Screenshots
If applicable, add screenshots to help explain your problem.
Browser/Device (if applicable)
Additional context
Works as expected in Chrome
The text was updated successfully, but these errors were encountered: