diff --git a/app/client/src/widgets/MenuButtonWidget/component/index.tsx b/app/client/src/widgets/MenuButtonWidget/component/index.tsx index 18a4efe575..deaf49b333 100644 --- a/app/client/src/widgets/MenuButtonWidget/component/index.tsx +++ b/app/client/src/widgets/MenuButtonWidget/component/index.tsx @@ -50,7 +50,7 @@ const PopoverStyles = createGlobalStyle<{ margin-bottom: 8px !important; border-radius: ${({ borderRadius }) => borderRadius >= THEMEING_TEXT_SIZES.lg ? `0.375rem` : borderRadius}; - overflow-y: scroll; + overflow-y: auto; max-height: 384px; } @@ -59,7 +59,7 @@ const PopoverStyles = createGlobalStyle<{ border-radius: 0; } - & > .${Classes.POPOVER2_TARGET} { + .menu-button-popover-target { height: 100%; } @@ -389,6 +389,7 @@ function MenuButtonComponent(props: MenuButtonComponentProps) { parentWidth={width - WidgetContainerDiff} />