mirror of
https://github.com/excalidraw/excalidraw.git
synced 2025-05-03 10:00:07 -04:00
Merge 5a88b95df5
into 192c4e7658
This commit is contained in:
commit
6af980ba03
1 changed files with 1 additions and 1 deletions
|
@ -34,6 +34,7 @@ export const TTDDialogInput = ({
|
|||
callbackRef.current?.();
|
||||
}
|
||||
};
|
||||
textarea.focus();
|
||||
textarea.addEventListener(EVENT.KEYDOWN, handleKeyDown);
|
||||
return () => {
|
||||
textarea.removeEventListener(EVENT.KEYDOWN, handleKeyDown);
|
||||
|
@ -47,7 +48,6 @@ export const TTDDialogInput = ({
|
|||
onChange={onChange}
|
||||
value={input}
|
||||
placeholder={placeholder}
|
||||
autoFocus
|
||||
ref={ref}
|
||||
/>
|
||||
);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue