e363952c062f
fix: Entry.tsx keydown guard — swallow c/u shortcuts only when NOT in textarea/input/select/contenteditable (v2.12.3)
- time
- 2026-04-29 18:01 UTC · 6 months ago
- machine
- koh2
- parent
- 23f97922d05f
↓ peach-browser-e363952c.tar.gzatlas at this save
files changed3 files
manifest.firefox.json+1 −1manifest.json+1 −1src/popup/views/Entry.tsx+1 −1manifest.firefox.json+1 −1
@@ -1,7 +1,7 @@11 {22 "manifest_version": 3,33 "name": "Peach",4- "version": "2.12.2",4+ "version": "2.12.3",55 "description": "Zero-knowledge password manager",66 "browser_specific_settings": {77 "gecko": {manifest.json+1 −1
@@ -1,7 +1,7 @@11 {22 "manifest_version": 3,33 "name": "Peach",4- "version": "2.12.2",4+ "version": "2.12.3",55 "description": "Zero-knowledge password manager",66 "action": {77 "default_popup": "src/popup/index.html",src/popup/views/Entry.tsx+1 −1
@@ -333,7 +333,7 @@333333 createEffect(() => {334334 if (!props.entry) return;335335 const handler = (e: KeyboardEvent) => {336- const inInput = e.target instanceof HTMLInputElement || e.target instanceof HTMLTextAreaElement;336+ const inInput = e.target instanceof HTMLInputElement || e.target instanceof HTMLTextAreaElement || e.target instanceof HTMLSelectElement || (e.target as HTMLElement).isContentEditable;337337 if (inInput) return;338338 switch (e.key) {339339 case "c": e.preventDefault();