From 54242e968fa459a2e3cb6c30e79068ddc8fe17ad Mon Sep 17 00:00:00 2001 From: Wei Zhu Date: Mon, 26 Feb 2018 16:38:15 +0800 Subject: [PATCH] Set Table filter dropdown menu popup container Fix #9209 --- components/table/filterDropdown.tsx | 3 +++ 1 file changed, 3 insertions(+) diff --git a/components/table/filterDropdown.tsx b/components/table/filterDropdown.tsx index 5ff8eb0f24..dfe4212b3a 100755 --- a/components/table/filterDropdown.tsx +++ b/components/table/filterDropdown.tsx @@ -192,6 +192,9 @@ export default class FilterMenu extends React.Component, F onSelect={this.setSelectedKeys} onDeselect={this.setSelectedKeys} selectedKeys={this.state.selectedKeys} + getPopupContainer={(triggerNode: HTMLElement) => { + return triggerNode.parentNode; + }} > {this.renderMenus(column.filters!)}