diff --git a/openmetadata-ui/src/main/resources/ui/src/components/common/ResizablePanels/PanelContainer/PanelContainer.tsx b/openmetadata-ui/src/main/resources/ui/src/components/common/ResizablePanels/PanelContainer/PanelContainer.tsx index 2c317bf48ed..fa1fdc13852 100644 --- a/openmetadata-ui/src/main/resources/ui/src/components/common/ResizablePanels/PanelContainer/PanelContainer.tsx +++ b/openmetadata-ui/src/main/resources/ui/src/components/common/ResizablePanels/PanelContainer/PanelContainer.tsx @@ -22,7 +22,8 @@ const PanelContainer: React.FC> = return (
+ data-testid="panel-container" + id="panel-container"> {overlay && width <= overlay.displayThreshold && (
{ useState(false); const [elementRef, isInView] = useElementInView({ ...observerOptions, - rootMargin: '10px', + root: document.querySelector('#panel-container'), + rootMargin: '0px 0px 2px 0px', }); const { paging, pageSize, handlePagingChange } = usePaging(); @@ -492,8 +493,9 @@ const GlossaryPage = () => { <>
} /> {isMoreGlossaryLoading && }