From b30150a8feb960c0667eaff6cb105dcc55b65744 Mon Sep 17 00:00:00 2001 From: Martin Kagamino Lehoux Date: Sat, 1 Aug 2026 15:15:37 +0200 Subject: fix(groceries): prevent premature auto-submit on quick-add input MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Typing 'sel régénérant' would auto-submit 'sel' because oninput fired on every keystroke, and trim() collapsed the partial input to a catalog match. Moved auto-submit to oninput with insertReplacementText guard (datalist selection) plus onchange (blur/Enter), so regular typing is never interrupted. --- README.md | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'README.md') diff --git a/README.md b/README.md index 2ec894c..8a547ce 100644 --- a/README.md +++ b/README.md @@ -63,6 +63,8 @@ worker precaches assets; works offline after first visit. ### Bugs / Polish +- [x] When I type "sel régénérant", i'm interrupted at the l, it seems to auto submit "sel" + ### Features - [ ] Live updates from server @@ -71,6 +73,8 @@ worker precaches assets; works offline after first visit. ## Deploy +- [ ] Deploy bare build + node systemctl service + ```bash docker build -t home-sveltekit . docker save home-sveltekit | gzip | pv | ssh ubuntu@feed.kagamino.dev "gunzip | sudo docker load" -- cgit v1.3