diff --git a/frontend/src/app/components/overlays/ProviderHealthToast.tsx b/frontend/src/app/components/overlays/ProviderHealthToast.tsx index 4683e726..028157e0 100644 --- a/frontend/src/app/components/overlays/ProviderHealthToast.tsx +++ b/frontend/src/app/components/overlays/ProviderHealthToast.tsx @@ -28,7 +28,8 @@ export default function ProviderHealthToast() { 0} autoHideDuration={null} - onClose={() => dispatch(hideProviderHealthToast())} + // Clickaway would kill the pill on the user's first canvas click, before they read it; only the X or Reconnect dismisses. + onClose={(event, reason) => { if (reason !== 'clickaway') dispatch(hideProviderHealthToast()); }} anchorOrigin={{ vertical: 'bottom', horizontal: 'left' }} >