From a15434052f7f7861884ac5d8bb066ab6c70a9db1 Mon Sep 17 00:00:00 2001 From: Nikolaj Frey Date: Mon, 14 Aug 2023 20:23:01 +1000 Subject: [PATCH] feat: feature/mvp-sprint-1 Changed seedling input to onKeyDown --- remix/app/components/Thingtime/Thingtime.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/remix/app/components/Thingtime/Thingtime.tsx b/remix/app/components/Thingtime/Thingtime.tsx index 7a229ff..655fa66 100644 --- a/remix/app/components/Thingtime/Thingtime.tsx +++ b/remix/app/components/Thingtime/Thingtime.tsx @@ -695,7 +695,7 @@ export const Thingtime = (props) => { transition="all 0.2s ease-out" outline="none !important" onClick={addNewChild} - onKeyUp={(e) => { + onKeyDown={(e) => { if (e?.key === "Enter") { addNewChild() }