Skip to content

Commit

Permalink
Fix Table selectAll behavious inside Popover, close ant-design#5407
Browse files Browse the repository at this point in the history
  • Loading branch information
afc163 authored and guanglei.xiegl committed Mar 23, 2017
1 parent 9ea6313 commit 2a985fb
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion components/table/SelectionCheckboxAll.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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>
Expand Down

0 comments on commit 2a985fb

Please sign in to comment.