diff --git a/components/menu/index.tsx b/components/menu/index.tsx index dc400969ee..7b8999de54 100644 --- a/components/menu/index.tsx +++ b/components/menu/index.tsx @@ -51,6 +51,7 @@ export interface MenuProps { inlineCollapsed?: boolean; subMenuCloseDelay?: number; subMenuOpenDelay?: number; + getPopupContainer?: (triggerNode: Element) => HTMLElement; } export interface MenuState {