diff --git a/app/client/src/widgets/TableWidget/component/TableFilterPane.tsx b/app/client/src/widgets/TableWidget/component/TableFilterPane.tsx index 3a21d1b898..401f360d2f 100644 --- a/app/client/src/widgets/TableWidget/component/TableFilterPane.tsx +++ b/app/client/src/widgets/TableWidget/component/TableFilterPane.tsx @@ -80,7 +80,7 @@ class TableFilterPane extends Component { Prevent the FilterPane from overflowing the canvas when the table widget is on the very top of the canvas. */ - const boundaryParent = document.querySelector('[type="CANVAS_WIDGET"]'); + const boundaryParent = document.querySelector("#root"); return (