diff --git a/superset-frontend/plugins/plugin-chart-table/src/DataTable/hooks/useSticky.tsx b/superset-frontend/plugins/plugin-chart-table/src/DataTable/hooks/useSticky.tsx index 2133c02c36b1..e6e58939c6af 100644 --- a/superset-frontend/plugins/plugin-chart-table/src/DataTable/hooks/useSticky.tsx +++ b/superset-frontend/plugins/plugin-chart-table/src/DataTable/hooks/useSticky.tsx @@ -344,7 +344,7 @@ function StickyWrap({ style={{ height: bodyHeight, overflow: 'auto', - scrollbarGutter: 'stable', + scrollbarGutter: hasVerticalScroll ? 'stable' : undefined, width: maxWidth, boxSizing: 'border-box', }}