[WEB-6038] fix: work item empty title flicker #8618

This commit is contained in:
Anmol Singh Bhatia 2026-02-12 13:35:08 +05:30 committed by GitHub
parent bcc8fb4d1d
commit c93f9fc865
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -45,7 +45,7 @@ export const IssueTitleInput = observer(function IssueTitleInput(props: IssueTit
} = props;
const { t } = useTranslation();
// states
const [title, setTitle] = useState("");
const [title, setTitle] = useState(value || "");
const [isLengthVisible, setIsLengthVisible] = useState(false);
// ref to track if there are unsaved changes
const hasUnsavedChanges = useRef(false);