You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/sidebar/search/Search.tsx
-9Lines changed: 0 additions & 9 deletions
Original file line number
Diff line number
Diff line change
@@ -92,13 +92,6 @@ const SearchBox = ({
92
92
})=>{
93
93
constpoint=points[index]
94
94
95
-
// With this ref and tabIndex=-1 we ensure that the first 'TAB' gives the focus the first input but the marker won't be included in the TAB sequence, #194
96
-
constmyMarkerRef=useRef<HTMLDivElement>(null)
97
-
98
-
useEffect(()=>{
99
-
if(index==0)myMarkerRef.current?.focus()
100
-
},[])
101
-
102
95
functiononClickOrDrop(){
103
96
onDropPreviewSelect(-1)
104
97
constnewIndex=moveStartIndex<index ? index+1 : index
0 commit comments