The modern link attribution platform. Loved by world-class engineering teams at Twilio, Zillow, Jobber, Vercel, Raycast, and more.
TypeScript clickhousemysqlnextjsopen-sourceplanetscaleprismatailwindcsstinybirdtypescriptupstashvercel
Fix program dropdown overflow interaction
Tim Wilson4675fb36c5ef
diff --git a/apps/web/ui/layout/sidebar/partner-program-dropdown.tsx b/apps/web/ui/layout/sidebar/partner-program-dropdown.tsxindex 4f4ac4c353..43511bd10a 100644--- a/apps/web/ui/layout/sidebar/partner-program-dropdown.tsx+++ b/apps/web/ui/layout/sidebar/partner-program-dropdown.tsx@@ -146,7 +146,8 @@ function ScrollContainer({ children }: PropsWithChildren) {<divref={scrollRef}onScroll={updateScrollProgress}- className="relative max-h-[min(260px,calc(100vh-300px))] space-y-0.5 overflow-auto rounded-lg bg-white"+ // clip-path is used to fix a weird bug in WebKit where scrolled-out-of-view content is still interactible+ className="relative max-h-[min(260px,calc(100vh-300px))] space-y-0.5 overflow-auto rounded-lg bg-white [clip-path:inset(0)]">{children}</div>