Skip to content
This repository was archived by the owner on Sep 11, 2024. It is now read-only.

Commit 279caec

Browse files
authored
Autofocus device panel entry when renaming device (#7249)
1 parent 5c0562c commit 279caec

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/components/views/settings/DevicesPanelEntry.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -175,6 +175,7 @@ export default class DevicesPanelEntry extends React.Component<IProps, IState> {
175175
value={this.state.displayName}
176176
autoComplete="off"
177177
onChange={this.onChangeDisplayName}
178+
autoFocus
178179
/>
179180
<AccessibleButton onClick={this.onRenameSubmit} kind="confirm_sm" />
180181
<AccessibleButton onClick={this.onRenameCancel} kind="cancel_sm" />

0 commit comments

Comments
 (0)