diff --git a/newIDE/app/src/UI/SimpleTextField.js b/newIDE/app/src/UI/SimpleTextField.js index d0bb5e7c6ecf..5b159d46d316 100644 --- a/newIDE/app/src/UI/SimpleTextField.js +++ b/newIDE/app/src/UI/SimpleTextField.js @@ -114,7 +114,12 @@ export const SimpleTextField = React.memo< defaultValue={props.value} placeholder={props.hint || ''} onClick={stopPropagation} - onDoubleClick={stopPropagation} + onDoubleClick={e => { + stopPropagation(e); + if (inputRef.current) { + inputRef.current.select(); + } + }} onBlur={e => { props.onChange( e.currentTarget.value,