Set Table filter dropdown menu popup container

Fix #9209
This commit is contained in:
Wei Zhu 2018-02-26 16:38:15 +08:00
parent d4a5d2c188
commit 54242e968f

View File

@ -192,6 +192,9 @@ export default class FilterMenu<T> extends React.Component<FilterMenuProps<T>, F
onSelect={this.setSelectedKeys}
onDeselect={this.setSelectedKeys}
selectedKeys={this.state.selectedKeys}
getPopupContainer={(triggerNode: HTMLElement) => {
return triggerNode.parentNode;
}}
>
{this.renderMenus(column.filters!)}
</Menu>