Skip to content

Commit

Permalink
Fix Table selectAll behavious inside Popover, close #5407
Browse files Browse the repository at this point in the history
  • Loading branch information
afc163 authored and benjycui committed Mar 27, 2017
1 parent fa590e3 commit 8eb472a
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 8eb472a

Please sign in to comment.