From d8ba4e77e3c2bb263967746f37409052437e5f69 Mon Sep 17 00:00:00 2001 From: Darren Semotiuk <106487066+DarrenSem@users.noreply.github.com> Date: Mon, 17 Jul 2023 16:37:35 -0600 Subject: [PATCH] delay + 250 (+ 50 was inconsistent) --- index.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/index.html b/index.html index 755787d..44c7905 100644 --- a/index.html +++ b/index.html @@ -46,7 +46,7 @@ const focusIndex = (index, delay) => setTimeout( () => inputRefs.current[index]?.focus(), delay || FOCUS_DELAY_DEFAULT ); const insertNewPlace = () => { - focusIndex(0, FOCUS_DELAY_DEFAULT + 50); + focusIndex(0, FOCUS_DELAY_DEFAULT + 250); setPlaces(["", ...places]); };