Skip to content

Commit 571c52f

Browse files
committed
chore: Patch overflow popup style
1 parent 86ee28f commit 571c52f

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/Menu.tsx

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -101,6 +101,8 @@ export interface MenuProps
101101
itemIcon?: RenderIconType;
102102
expandIcon?: RenderIconType;
103103
overflowedIndicator?: React.ReactNode;
104+
/** @private Internal usage. Do not use in your production. */
105+
overflowedIndicatorPopupClassName?: string;
104106

105107
// >>>>> Function
106108
getPopupContainer?: (node: HTMLElement) => HTMLElement;
@@ -168,6 +170,7 @@ const Menu: React.FC<MenuProps> = props => {
168170
itemIcon,
169171
expandIcon,
170172
overflowedIndicator = '...',
173+
overflowedIndicatorPopupClassName,
171174

172175
// Function
173176
getPopupContainer,
@@ -476,6 +479,7 @@ const Menu: React.FC<MenuProps> = props => {
476479
title={overflowedIndicator}
477480
disabled={allVisible}
478481
internalPopupClose={len === 0}
482+
popupClassName={overflowedIndicatorPopupClassName}
479483
>
480484
{originOmitItems}
481485
</SubMenu>

0 commit comments

Comments
 (0)