fix: fixed in place input, refactored create board button for mobile
This commit is contained in:
@ -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}
|
||||
/>
|
||||
);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user