Fix custom filter dropdown focus issue, close #8411

This commit is contained in:
afc163 2017-12-03 19:09:39 +08:00
parent 6bb368083b
commit 81472aaf3b
2 changed files with 2 additions and 0 deletions

View File

@ -16,6 +16,7 @@ export interface DropDownProps {
prefixCls?: string;
className?: string;
placement?: 'topLeft' | 'topCenter' | 'topRight' | 'bottomLeft' | 'bottomCenter' | 'bottomRight';
forceRender?: boolean;
}
export default class Dropdown extends React.Component<DropDownProps, any> {

View File

@ -219,6 +219,7 @@ export default class FilterMenu<T> extends React.Component<FilterMenuProps<T>, F
visible={this.neverShown ? false : this.state.visible}
onVisibleChange={this.onVisibleChange}
getPopupContainer={getPopupContainer}
forceRender
>
{this.renderFilterIcon()}
</Dropdown>