From 2cf0cf680785bc359a08cee4011f6717b47779b7 Mon Sep 17 00:00:00 2001 From: Nikolaj Frey Date: Mon, 14 Aug 2023 20:20:21 +1000 Subject: [PATCH] feat: feature/mvp-sprint-1 Added tab index to seedling --- remix/app/components/Thingtime/Thingtime.tsx | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/remix/app/components/Thingtime/Thingtime.tsx b/remix/app/components/Thingtime/Thingtime.tsx index 7d2e5df..878aa6d 100644 --- a/remix/app/components/Thingtime/Thingtime.tsx +++ b/remix/app/components/Thingtime/Thingtime.tsx @@ -693,7 +693,13 @@ export const Thingtime = (props) => { cursor="pointer" transition="all 0.2s ease-out" onClick={addNewChild} + onKeyUp={(e) => { + if (e?.key === "Enter") { + addNewChild() + } + }} paddingY={2} + tabIndex={0} > {/*