From 70b0d35bb4dc625951dda483024b175b132abcb5 Mon Sep 17 00:00:00 2001 From: Abdellah Hariti Date: Thu, 13 Feb 2025 12:34:49 +0100 Subject: [PATCH] fix platform selector focus lost on non platform pages --- src/components/platformSelector/index.tsx | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/components/platformSelector/index.tsx b/src/components/platformSelector/index.tsx index b95838e30f972..cce5d995d0d9d 100644 --- a/src/components/platformSelector/index.tsx +++ b/src/components/platformSelector/index.tsx @@ -127,7 +127,11 @@ export function PlatformSelector({ path.length > '/platforms/'.length ); const showStoredPlatform = - !isPlatformPage && storedPlatformKey && storedPlatform && path !== '/platforms/'; + !open && + !isPlatformPage && + storedPlatformKey && + storedPlatform && + path !== '/platforms/'; return (