use HTMLTextAreaElement here as well
This commit is contained in:
parent
732faa9264
commit
ded18a63c3
1 changed files with 1 additions and 1 deletions
|
@ -78,7 +78,7 @@ const MarkerEditorPopover: React.FC<{
|
|||
}
|
||||
}, [layoutP, sheet])
|
||||
|
||||
const inputRef = useRef<HTMLInputElement>(null)
|
||||
const inputRef = useRef<HTMLTextAreaElement>(null)
|
||||
useLayoutEffect(() => {
|
||||
inputRef.current!.focus()
|
||||
}, [])
|
||||
|
|
Loading…
Reference in a new issue