Add input selection on curve change (#158)
This commit is contained in:
parent
cd9d03076b
commit
bd110ed01a
1 changed files with 2 additions and 0 deletions
|
@ -214,6 +214,8 @@ const CurveEditorPopover: React.FC<IProps> = (props) => {
|
|||
const value = cssCubicBezierArgsFromHandles(newHandles)
|
||||
setInputValue(value)
|
||||
setEdit(value)
|
||||
inputRef.current?.select()
|
||||
inputRef.current?.focus()
|
||||
}
|
||||
const onCancelCurveChange = () => {}
|
||||
|
||||
|
|
Loading…
Reference in a new issue