fix(web): restore mobile scrolling outside Telegram (#358)

This commit is contained in:
Qihan
2026-03-25 05:37:48 +08:00
committed by GitHub
parent 6384697b03
commit acda983e02
7 changed files with 25 additions and 7 deletions
@@ -279,7 +279,7 @@ export function HappyThread(props: {
}}>
<ThreadPrimitive.Root className="flex min-h-0 flex-1 flex-col relative">
<ThreadPrimitive.Viewport asChild autoScroll={autoScrollEnabled}>
<div ref={viewportRef} className="min-h-0 flex-1 overflow-y-auto overflow-x-hidden">
<div ref={viewportRef} className="app-scroll-y min-h-0 flex-1 overflow-x-hidden">
<div className="mx-auto w-full max-w-content min-w-0 p-3">
<div ref={topSentinelRef} className="h-px w-full" aria-hidden="true" />
{showSkeleton ? (