diff --git a/ui/src/components/VideoOverlay.tsx b/ui/src/components/VideoOverlay.tsx index bce15374..e84cfc04 100644 --- a/ui/src/components/VideoOverlay.tsx +++ b/ui/src/components/VideoOverlay.tsx @@ -485,6 +485,7 @@ export function RebootingOverlay({ show, postRebootAction }: RebootingOverlayPro clearInterval(intervalId); // Stop polling before redirect window.location.href = targetUrl.href; + // Add 1s delay between setting location.href and calling reload() to prevent reload from interrupting the navigation. await sleep(1000); window.location.reload(); }