From 2c4c5fc6e3b836cce2c3e33a0811f5176b7ec177 Mon Sep 17 00:00:00 2001 From: Havin <33543101+Huanghuiying0624@users.noreply.github.com> Date: Thu, 9 Aug 2018 21:48:37 +0900 Subject: [PATCH] move getPopupContainer from SelectProps to AbstractSelectProps (#11690) --- components/select/index.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/select/index.tsx b/components/select/index.tsx index d9414d08db..278afb9c9a 100755 --- a/components/select/index.tsx +++ b/components/select/index.tsx @@ -26,6 +26,7 @@ export interface AbstractSelectProps { dropdownMenuStyle?: React.CSSProperties; dropdownMatchSelectWidth?: boolean; onSearch?: (value: string) => any; + getPopupContainer?: (triggerNode: Element) => HTMLElement; filterOption?: boolean | ((inputValue: string, option: React.ReactElement) => any); id?: string; } @@ -56,7 +57,6 @@ export interface SelectProps extends AbstractSelectProps { maxTagPlaceholder?: React.ReactNode | ((omittedValues: SelectValue[]) => React.ReactNode); optionFilterProp?: string; labelInValue?: boolean; - getPopupContainer?: (triggerNode: Element) => HTMLElement; tokenSeparators?: string[]; getInputElement?: () => React.ReactElement; autoFocus?: boolean;