fix(striker-ui): delay form reset in manage host

main^2
Tsu-ba-me 7 months ago
parent 92fbbdb1cb
commit f526a6a853
  1. 3
      striker-ui/components/ManageHost/ManageHost.tsx

@ -20,7 +20,8 @@ const ManageHost: FC = () => {
common: {
onClose: ({ handlers: { base } }, ...args) => {
base?.call(null, ...args);
setInquireHostResponse(undefined);
// Delay to avoid visual changes until dialog is fully closed.
setTimeout(setInquireHostResponse, 500);
},
},
}}

Loading…
Cancel
Save