diff --git a/src/components/floor-plan/modal/lineTypes/OuterLineWall.jsx b/src/components/floor-plan/modal/lineTypes/OuterLineWall.jsx index 439e0748..b54d9bf4 100644 --- a/src/components/floor-plan/modal/lineTypes/OuterLineWall.jsx +++ b/src/components/floor-plan/modal/lineTypes/OuterLineWall.jsx @@ -18,7 +18,11 @@ export default function OuterLineWall({ props }) { className="input-origin block" value={length1} ref={length1Ref} - onFocus={(e) => (length1Ref.current.value = '')} + onFocus={(e) => { + if (length1Ref.current.value === '0') { + length1Ref.current.value = '' + } + }} onChange={(e) => onlyNumberInputChange(e, setLength1)} placeholder="3000" />