authorgravatar for me@t3.ggTheo Browne <me@t3.gg> 2026-08-06 20:31:12-04:00
committergravatar for noreply@github.comGitHub <noreply@github.com> 2026-08-06 17:31:12-07:00
logea50b695a749d6a0d44ef96b479b6dfceb8881e3
tree99eafe0ff5bf4ba08ee0d4302c0c9f1d3f94d9bc
parent331c6dce7f6745863752b1b423fc76d24014deec
signature Signed by PGP key B5690EEEBB952194

fix(web): update tooltip no longer dismisses when scrolling release notes (#5547)

Co-authored-by: Claude Fable 5 <noreply@anthropic.com>

1 files changed, 4 insertions(+), 2 deletions(-)

apps/web/src/components/sidebar/SidebarUpdatePill.tsx+4-2
...@@ -44,7 +44,7 @@ function SidebarUpdateReleaseNotesTooltip({...@@ -44,7 +44,7 @@ function SidebarUpdateReleaseNotesTooltip({
44 <div className="px-1">44 <div className="px-1">
45 <div className="text-sm leading-5 font-medium">{tooltip}</div>45 <div className="text-sm leading-5 font-medium">{tooltip}</div>
46 </div>46 </div>
47 <div className="pointer-events-auto max-h-[min(28rem,calc(100vh-6rem))] overflow-y-auto px-1 pt-4 pb-1">47 <div className="max-h-[min(28rem,calc(100vh-6rem))] overflow-y-auto px-1 pt-4 pb-1">
48 {state.releaseNotes.map((releaseNote, index) => (48 {state.releaseNotes.map((releaseNote, index) => (
49 <div key={releaseNote.version}>49 <div key={releaseNote.version}>
50 {index > 0 && <Separator className="my-3 bg-border/60" />}50 {index > 0 && <Separator className="my-3 bg-border/60" />}
...@@ -203,7 +203,9 @@ export function SidebarUpdatePill() {...@@ -203,7 +203,9 @@ export function SidebarUpdatePill() {
203 align="start"203 align="start"
204 className={204 className={
205 state?.channel === "nightly" && state.releaseNotes.length > 0205 state?.channel === "nightly" && state.releaseNotes.length > 0
206 ? "max-w-none text-balance"206 ? // pointer-events-auto overrides the positioner's pointer-events-none so the
207 // release notes stay open (and scrollable) when the cursor moves into them.
208 "pointer-events-auto max-w-none text-balance"
207 : undefined209 : undefined
208 }210 }
209 side="top"211 side="top"