fix: fix the magic input

Remove the focus when the selected item is clicked to avoid the failure of the refresh button

Closes-Bug: #2032763
Change-Id: I50601a6b2bd9b36b0835fdb104f4d66b1707e728
This commit is contained in:
xusongfu 2023-08-23 16:07:03 +08:00
parent 32d07c8a94
commit bf74084a53

View File

@ -223,6 +223,7 @@ class MagicInput extends PureComponent {
value = key === 'false' ? false : key; value = key === 'false' ? false : key;
} }
this.updateInput(value); this.updateInput(value);
this.onFocusChange(false);
}; };
handleSelectFilter = ({ key }) => { handleSelectFilter = ({ key }) => {