Skip to content

Commit eb9ba71

Browse files
t3dotggclaude
andcommitted
fix(web): sidebar project filter no longer refocuses after a pick
Co-Authored-By: Claude Opus 5.5 <[email protected]>
1 parent 1280ccd commit eb9ba71

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

‎apps/web/src/components/Sidebar.tsx‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3057,10 +3057,12 @@ export default function Sidebar({ routeReveal }: { routeReveal: SidebarRouteReve
30573057
<ListFilterIcon className="size-4" />
30583058
)}
30593059
</ComboboxTrigger>
3060+
{/* Refocusing the trigger after a pointer close shows its focus ring and opens its tooltip. */}
30603061
<ComboboxPopup
30613062
align="start"
30623063
anchor={headerSearchRef}
30633064
className="max-w-[min(18rem,var(--available-width))] overflow-hidden"
3065+
finalFocus={(closeType) => closeType === "keyboard"}
30643066
>
30653067
<ComboboxSearchInput
30663068
aria-label="Search projects"

0 commit comments

Comments
 (0)