diff --git a/ext/src/ui/options/EditableList.tsx b/ext/src/ui/options/EditableList.tsx index fc2755e..f5c3b17 100644 --- a/ext/src/ui/options/EditableList.tsx +++ b/ext/src/ui/options/EditableList.tsx @@ -282,13 +282,15 @@ class EditableListItem extends Component< } private handleEditBegin () { - this.setState({ - editing: true - , editValue: this.props.text - }, () => { - this.input?.focus(); - this.input?.select(); - }); + if (!this.state.editing) { + this.setState({ + editing: true + , editValue: this.props.text + }, () => { + this.input?.focus(); + this.input?.select(); + }); + } } private handleEditEnd (ev: React.FocusEvent) {