From 0e1c4e53d804e4406f20271a1312b4a9c1683810 Mon Sep 17 00:00:00 2001 From: Pratheek Ravikumar <111165032+Pratheek555@users.noreply.github.com> Date: Fri, 4 Apr 2025 12:54:15 +0530 Subject: [PATCH] fix: Fixing the overlapping timezone dropdown menu (#20487) * Fixing the overlapping timezone dropdown menu * making the timezone menu to display 5 timezones at a time --- .../features/components/timezone-select/TimezoneSelect.tsx | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/packages/features/components/timezone-select/TimezoneSelect.tsx b/packages/features/components/timezone-select/TimezoneSelect.tsx index 343a87522f..eaa8e7fcb6 100644 --- a/packages/features/components/timezone-select/TimezoneSelect.tsx +++ b/packages/features/components/timezone-select/TimezoneSelect.tsx @@ -120,6 +120,10 @@ export function TimezoneSelectComponent({ minHeight: size === "sm" ? "28px" : "36px", height: grow ? "h-auto " : size === "sm" ? "28px" : "36px", }), + menuList: (base) => ({ + ...base, + height: grow ? "h-auto " : size === "sm" ? "200px" : "180px", + }), }} onInputChange={handleInputChange} {...props}