fix: fixed in place input, refactored create board button for mobile

This commit is contained in:
2025-08-14 12:51:39 +04:00
parent 95e49eafc1
commit 8fb4121ed1
3 changed files with 4 additions and 3 deletions

View File

@ -70,10 +70,12 @@ const InPlaceInputDesktop: FC<Props> = ({
value={value}
onChange={e => setValue(e.target.value)}
onKeyDown={e => {
e.stopPropagation();
if (e.key === "Enter") onCompleteCreating();
if (e.key === "Escape") onCancelCreating();
}}
styles={inputStyles}
miw={150}
/>
);
}