Fix Table selectAll behavious inside Popover, close #5407

This commit is contained in:
afc163 2017-03-21 16:31:45 +08:00
parent d5be2581c5
commit fd7b5bdcf4

View File

@ -176,7 +176,10 @@ export default class SelectionCheckboxAll extends React.Component<SelectionCheck
disabled={disabled}
onChange={this.handleSelectAllChagne}
/>
<Dropdown overlay={menu}>
<Dropdown
overlay={menu}
getPopupContainer={(trigger: HTMLElement) => trigger.parentNode as HTMLElement}
>
<div className={`${selectionPrefixCls}-down`}>
<Icon type="down" />
</div>