Skip to content

Commit 0f97ddd

Browse files
committed
Turn off spellcheck
1 parent df0b5a3 commit 0f97ddd

3 files changed

Lines changed: 9 additions & 0 deletions

File tree

src/components/DeclarationsSidebar.tsx

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -182,6 +182,9 @@ export const DeclarationsSidebar = ({ onNavigate }: { onNavigate?: () => void })
182182
value={filter}
183183
onChange={(e) => setFilter(e.target.value)}
184184
aria-label="Filter sidebar"
185+
spellCheck={false}
186+
autoCorrect="off"
187+
autoCapitalize="off"
185188
/>
186189
</SidebarHeader>
187190
<div ref={parentRef} style={{ flex: 1, overflow: "auto" }}>

src/components/Docs/ClassTree.tsx

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -177,6 +177,9 @@ export function ClassTree() {
177177
placeholder={`Filter ${totalClasses} classes...`}
178178
value={filter}
179179
onChange={(e: React.ChangeEvent<HTMLInputElement>) => setFilter(e.target.value)}
180+
spellCheck={false}
181+
autoCorrect="off"
182+
autoCapitalize="off"
180183
/>
181184
</TreeHeader>
182185
<RootList>

src/components/Search/index.tsx

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -103,6 +103,9 @@ export function SearchBox({
103103
value={inputValue}
104104
onChange={onChange}
105105
aria-label="Search"
106+
spellCheck={false}
107+
autoCorrect="off"
108+
autoCapitalize="off"
106109
/>
107110
);
108111
}

0 commit comments

Comments
 (0)