diff --git a/packages/console/src/containers/AppContent/components/Topbar/TenantSelector/index.module.scss b/packages/console/src/containers/AppContent/components/Topbar/TenantSelector/index.module.scss
index b3905640b..f245d3e5d 100644
--- a/packages/console/src/containers/AppContent/components/Topbar/TenantSelector/index.module.scss
+++ b/packages/console/src/containers/AppContent/components/Topbar/TenantSelector/index.module.scss
@@ -1,5 +1,12 @@
@use '@/scss/underscore' as _;
+$topbar-height: 64px;
+$topbar-tenant-card-margin: _.unit(4);
+$dropdown-top-margin: _.unit(1);
+$dropdown-bottom-margin: _.unit(6);
+$dropdown-item-margin: _.unit(1);
+$dropdown-item-height: 40px;
+
.currentTenantCard {
display: flex;
align-items: center;
@@ -58,6 +65,10 @@
.dropdown {
max-width: 500px;
min-width: 320px;
+
+ .scrollableContent {
+ max-height: calc(100vh - ($topbar-height - $topbar-tenant-card-margin + $dropdown-top-margin) - $dropdown-bottom-margin - ($dropdown-item-height + $dropdown-item-margin * 2)); // Secure 24px bottom safe margin.
+ }
}
.dropdownItem {
diff --git a/packages/console/src/containers/AppContent/components/Topbar/TenantSelector/index.tsx b/packages/console/src/containers/AppContent/components/Topbar/TenantSelector/index.tsx
index bc53191d2..14b1708d8 100644
--- a/packages/console/src/containers/AppContent/components/Topbar/TenantSelector/index.tsx
+++ b/packages/console/src/containers/AppContent/components/Topbar/TenantSelector/index.tsx
@@ -11,6 +11,7 @@ import CreateTenantModal from '@/cloud/pages/Main/TenantLandingPage/TenantLandin
import AppError from '@/components/AppError';
import Divider from '@/ds-components/Divider';
import Dropdown, { DropdownItem } from '@/ds-components/Dropdown';
+import OverlayScrollbar from '@/ds-components/OverlayScrollbar';
import useTenants from '@/hooks/use-tenants';
import { onKeyDownHandler } from '@/utils/a11y';
@@ -69,21 +70,23 @@ function TenantSelector() {
setShowDropdown(false);
}}
>
- {tenants.map(({ id, name, tag }) => (
-