Skip to content

AI-native knowledge base & Evernote/Obsidian alternative with instant sync & native MCP. Free on Cloudflare or self-hosted via Docker.

Tune memo search input behavior

tianma53b7dff31214
diff --git a/apps/web/src/components/MemoListPane.tsx b/apps/web/src/components/MemoListPane.tsx
index eca1671c..a97c4d02 100644
--- a/apps/web/src/components/MemoListPane.tsx
+++ b/apps/web/src/components/MemoListPane.tsx
@@ -756,7 +756,13 @@ export const MemoListPane = ({
<Search className="h-4 w-4 shrink-0" />
<input
ref={mobileSearchInputRef}
+ type="search"
value={search}
+ autoCapitalize="none"
+ autoComplete="off"
+ autoCorrect="off"
+ enterKeyHint="search"
+ spellCheck={false}
onChange={(event) => handleSearchChange(event.target.value)}
onKeyDown={(event) => {
if (event.key !== "Escape") {
@@ -996,7 +1002,13 @@ export const MemoListPane = ({
<Search className="h-4 w-4" />
<input
ref={searchInputRef}
+ type="search"
value={search}
+ autoCapitalize="none"
+ autoComplete="off"
+ autoCorrect="off"
+ enterKeyHint="search"
+ spellCheck={false}
onChange={(event) => handleSearchChange(event.target.value)}
onKeyDown={(event) => {
if (event.key === "Escape" && search) {