From 33f3f8144c2de9fc17fd1bb79feef1977ba7a695 Mon Sep 17 00:00:00 2001 From: Abhinav Kumar Date: Mon, 2 Dec 2024 18:35:50 +0530 Subject: [PATCH 1/2] fix: ensure menu remains visible by switching to fixed positioning Signed-off-by: Abhinav Kumar --- packages/fuselage/src/components/Dropdown/DropdownDesktop.tsx | 1 + 1 file changed, 1 insertion(+) diff --git a/packages/fuselage/src/components/Dropdown/DropdownDesktop.tsx b/packages/fuselage/src/components/Dropdown/DropdownDesktop.tsx index 10a133d3e6..071f827a64 100644 --- a/packages/fuselage/src/components/Dropdown/DropdownDesktop.tsx +++ b/packages/fuselage/src/components/Dropdown/DropdownDesktop.tsx @@ -28,6 +28,7 @@ export const DropdownDesktop = forwardRef(function DropdownDesktop< flexDirection='column' overflow='auto' data-testid='dropdown' + position='fixed' {...props} > From 78444cacf48b69cca2c582f225cf6cf56551c384 Mon Sep 17 00:00:00 2001 From: Abhinav Kumar Date: Mon, 2 Dec 2024 18:41:19 +0530 Subject: [PATCH 2/2] added changeset Signed-off-by: Abhinav Kumar --- .changeset/clever-planets-vanish.md | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 .changeset/clever-planets-vanish.md diff --git a/.changeset/clever-planets-vanish.md b/.changeset/clever-planets-vanish.md new file mode 100644 index 0000000000..6b75c82f75 --- /dev/null +++ b/.changeset/clever-planets-vanish.md @@ -0,0 +1,5 @@ +--- +'@rocket.chat/fuselage': patch +--- + +Fixes an issue where dropdown menus were clipped or hidden inside constrained containers.