From bf74084a53468e9081d7f6be161639f7b94ea0e9 Mon Sep 17 00:00:00 2001 From: xusongfu Date: Wed, 23 Aug 2023 16:07:03 +0800 Subject: [PATCH] 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 --- src/components/MagicInput/index.jsx | 1 + 1 file changed, 1 insertion(+) diff --git a/src/components/MagicInput/index.jsx b/src/components/MagicInput/index.jsx index 59eedd81..b8abc5dd 100644 --- a/src/components/MagicInput/index.jsx +++ b/src/components/MagicInput/index.jsx @@ -223,6 +223,7 @@ class MagicInput extends PureComponent { value = key === 'false' ? false : key; } this.updateInput(value); + this.onFocusChange(false); }; handleSelectFilter = ({ key }) => {