Skip to content

Commit 44ea5cf

Browse files
authored
Merge pull request #4634 from mahmoudmagdy1-1/clusterchooserpopup-scrollable
frontend: Add tabIndex to scrollable cluster list
2 parents 37838e0 + 340fcde commit 44ea5cf

File tree

5 files changed

+5
-4
lines changed

5 files changed

+5
-4
lines changed

frontend/src/components/cluster/ClusterChooserPopup.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -257,6 +257,7 @@ function ClusterChooserPopup(props: ChooserPopupPros) {
257257
/>
258258
<MenuList
259259
id="cluster-chooser-list"
260+
tabIndex={0}
260261
sx={{
261262
width: '280px',
262263
minWidth: '280px',

frontend/src/components/cluster/__snapshots__/ClusterChooserPopup.NoClustersButRecent.stories.storyshot

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@
6969
class="MuiList-root MuiList-padding MuiList-dense css-1k1lw4j-MuiList-root"
7070
id="cluster-chooser-list"
7171
role="menu"
72-
tabindex="-1"
72+
tabindex="0"
7373
>
7474
<li
7575
class="MuiButtonBase-root MuiMenuItem-root MuiMenuItem-gutters MuiMenuItem-root MuiMenuItem-gutters css-aom5s3-MuiButtonBase-root-MuiMenuItem-root"

frontend/src/components/cluster/__snapshots__/ClusterChooserPopup.NoRecentClusters.stories.storyshot

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@
6969
class="MuiList-root MuiList-padding MuiList-dense css-1k1lw4j-MuiList-root"
7070
id="cluster-chooser-list"
7171
role="menu"
72-
tabindex="-1"
72+
tabindex="0"
7373
>
7474
<li
7575
class="MuiButtonBase-root MuiMenuItem-root MuiMenuItem-gutters MuiMenuItem-root MuiMenuItem-gutters css-aom5s3-MuiButtonBase-root-MuiMenuItem-root"

frontend/src/components/cluster/__snapshots__/ClusterChooserPopup.Normal.stories.storyshot

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@
6969
class="MuiList-root MuiList-padding MuiList-dense css-1k1lw4j-MuiList-root"
7070
id="cluster-chooser-list"
7171
role="menu"
72-
tabindex="-1"
72+
tabindex="0"
7373
>
7474
<li
7575
class="MuiListSubheader-root MuiListSubheader-gutters css-1ac4l9u-MuiListSubheader-root"

frontend/src/components/cluster/__snapshots__/ClusterChooserPopup.Scrollbar.stories.storyshot

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@
6969
class="MuiList-root MuiList-padding MuiList-dense css-1k1lw4j-MuiList-root"
7070
id="cluster-chooser-list"
7171
role="menu"
72-
tabindex="-1"
72+
tabindex="0"
7373
>
7474
<li
7575
class="MuiListSubheader-root MuiListSubheader-gutters css-1ac4l9u-MuiListSubheader-root"

0 commit comments

Comments
 (0)