diff --git a/src/frontend/src/components/EditFlowSettingsComponent/index.tsx b/src/frontend/src/components/EditFlowSettingsComponent/index.tsx index 84814c7b7..0e927f24f 100644 --- a/src/frontend/src/components/EditFlowSettingsComponent/index.tsx +++ b/src/frontend/src/components/EditFlowSettingsComponent/index.tsx @@ -29,6 +29,9 @@ export const EditFlowSettings: React.FC = ({ setDescription!(event.target.value); }; + //this function is necessary to select the text when double clicking, this was not working with the onFocus event + const handleFocus = (event) => event.target.select(); + return ( <>