Skip to content

Commit 8eb52dd

Browse files
committed
fix: tab key has error behavior on serch
1 parent 0dbc42c commit 8eb52dd

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

biome.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,8 @@
4545
"noDangerouslySetInnerHtml": "off"
4646
},
4747
"a11y": {
48-
"noSvgWithoutTitle": "off"
48+
"noSvgWithoutTitle": "off",
49+
"useKeyWithClickEvents": "off"
4950
},
5051
"nursery": {
5152
"useSortedClasses": {

components/layouts/page-header/doc-search.tsx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -174,7 +174,6 @@ function ResultList({ data, closeModal }: { data: PagefindResult; closeModal: ()
174174
return (
175175
<li
176176
onClick={closeModal}
177-
onKeyUp={closeModal}
178177
key={item.url}
179178
className="cursor-pointer select-none gap-2 border-b text-inherit text-sm"
180179
>

0 commit comments

Comments
 (0)