mirror of
https://github.com/ant-design/ant-design.git
synced 2025-01-18 22:36:31 +08:00
Fix custom filter dropdown focus issue, close #8411
This commit is contained in:
parent
6bb368083b
commit
81472aaf3b
@ -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> {
|
||||
|
@ -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>
|
||||
|
Loading…
Reference in New Issue
Block a user