feat: feature/mvp-sprint-1 Changed seedling input to onKeyDown
This commit is contained in:
parent
186fb42693
commit
a15434052f
@ -695,7 +695,7 @@ export const Thingtime = (props) => {
|
|||||||
transition="all 0.2s ease-out"
|
transition="all 0.2s ease-out"
|
||||||
outline="none !important"
|
outline="none !important"
|
||||||
onClick={addNewChild}
|
onClick={addNewChild}
|
||||||
onKeyUp={(e) => {
|
onKeyDown={(e) => {
|
||||||
if (e?.key === "Enter") {
|
if (e?.key === "Enter") {
|
||||||
addNewChild()
|
addNewChild()
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user