Skip to content

Commit 3c71945

Browse files
authored
fix name input in share info (microsoft#10449)
1 parent fa86c93 commit 3c71945

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

react-common/components/share/ShareInfo.tsx

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -351,7 +351,10 @@ export const ShareInfo = (props: ShareInfoProps) => {
351351
className="name-input"
352352
initialValue={name}
353353
placeholder={lf("Name your project")}
354-
onChange={setName} />
354+
onChange={setName}
355+
onBlur={setName}
356+
onEnterKey={setName}
357+
preserveValueOnBlur={true} />
355358
{isLoggedIn && hasProjectBeenPersistentShared && <Checkbox
356359
id="persistent-share-checkbox"
357360
label={lf("Update existing share link for this project")}

0 commit comments

Comments
 (0)