dosubot[bot] commented on issue #40428: URL: https://github.com/apache/superset/issues/40428#issuecomment-4541396076
<!-- Answer --> This is a known area that has received multiple fixes. The overlapping behavior during "Download as Image" has been traced to two root causes: 1. **CSS box-sizing issue** — `.dashboard-component-chart-holder` elements default to `content-box` instead of `border-box`, causing their 32px padding to overflow the container and overlap neighboring charts. PRs [#36375](https://github.com/apache/superset/pull/36375) and [#38536](https://github.com/apache/superset/pull/38536) address this [[1]](https://github.com/apache/superset/issues/38709). 2. **Scrollable Table content expanding during export** — PR [#34233](https://github.com/apache/superset/pull/34233) rewrote the image export utility to set `overflow: visible` and `height: auto` on scrollable containers so full table content is captured. However, this expansion can cause the Table chart's exported height to exceed its dashboard grid slot, pushing into or overlapping adjacent charts [[2]](https://github.com/apache/superset/pull/34233). Additionally, PR [#38781](https://github.com/apache/superset/pull/38781) (merged April 2026) specifically targets ag-grid table rendering in image exports — it switches to print layout during capture and preserves row/column dimensions to prevent overlapping [[3]](https://github.com/apache/superset/pull/38781). **Immediate workaround:** You can add this CSS override to your dashboard to fix the box-sizing issue: ```css .dashboard-component-chart-holder { box-sizing: border-box; } ``` If you're on version 6.0.0, you may not have the latest export fixes from PRs #34233, #38781, or #38536. Upgrading to a more recent build that includes these patches should resolve the overlapping behavior during image download. <!-- Dosu Comment Footer --> *To reply, just mention [@dosu](https://go.dosu.dev/dosubot?utm_source=github&utm_medium=bot-comment&utm_campaign=github-comment-footer-20260415&utm_content=reply-with-mention&utm_term=apache%2Fsuperset).* --- Docs are dead. Just use [Dosu](https://dosu.dev?utm_source=github&utm_medium=bot-comment&utm_campaign=github-comment-footer-20260415&utm_content=static-docs-tagline&utm_term=apache%2Fsuperset). [](https://app.dosu.dev/response-feedback?utm_source=github&utm_medium=bot-comment&utm_campaign=github-comment-footer-20260415&utm_content=static-docs-feedback&utm_term=apache%2Fsuperset&message_id=39679ae0-a676-41b3-ad4b-e7d4fab4f1e5) [](https://github.dosu.com/apache/superset?utm_source=github&utm_medium=bot-comment&utm_campaign=github-comment-footer-20260415&utm_content=static-docs-ask-repo&utm_term=apache%2Fsuperset) [](https://app.dosu.dev/signup?referrer=openSource&source=github-footer&utm_source=github&utm_medium=bot-comment&utm_campaign=github-comment-footer-20260415&utm_content=static-docs-share-team&utm_term=apache%2Fsuperset) -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
