Skip to content

Commit caab8fe

Browse files
author
raineer
committed
fix
1 parent b1d4c5b commit caab8fe

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

  • apps/codebility/app/home/kanban/[projectId]/[id]/_components/tasks

‎apps/codebility/app/home/kanban/[projectId]/[id]/_components/tasks/TaskAddModal.tsx‎

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -252,6 +252,10 @@ function MemberSelector({
252252
placeholder="Search members..."
253253
value={searchQuery}
254254
onChange={(e) => setSearchQuery(e.target.value)}
255+
// FIX CBP-102: Prevents Radix DropdownMenu typeahead from
256+
// intercepting keystrokes and shifting focus away from this
257+
// input to a matching DropdownMenuItem while the user is typing.
258+
onKeyDown={(e) => e.stopPropagation()}
255259
className="w-full rounded-md border px-3 py-1 text-sm focus:outline-none focus:ring-2 focus:ring-blue-500 dark:bg-gray-800"
256260
/>
257261
</div>

0 commit comments

Comments
 (0)