From e6296fe8c1ff06106b80f2dc4087b36f486510d5 Mon Sep 17 00:00:00 2001 From: Filip Solecki Date: Fri, 26 Jan 2024 12:40:10 +0100 Subject: [PATCH] Add comment to setting focus element to null --- src/pages/WorkspaceSwitcherPage.js | 1 + 1 file changed, 1 insertion(+) diff --git a/src/pages/WorkspaceSwitcherPage.js b/src/pages/WorkspaceSwitcherPage.js index 4d700ac630e4..bf65ca333cd5 100644 --- a/src/pages/WorkspaceSwitcherPage.js +++ b/src/pages/WorkspaceSwitcherPage.js @@ -261,6 +261,7 @@ function WorkspaceSwitcherPage({policies}) { showTitleTooltip={false} contentContainerStyles={[styles.pt0, styles.mt0]} textIconLeft={MagnifyingGlass} + // It has to be set to null or -1 to avoid focus on any element at the beggining initiallyFocusedOptionKey={null} shouldUseStyleForChildren={false} />