dosubot[bot] commented on issue #36370: URL: https://github.com/apache/superset/issues/36370#issuecomment-3599763987
<!-- Answer --> This header/content misalignment is a known bug that was recently fixed in Superset. The root cause was a mismatch in width calculation between the table header and body when a vertical scrollbar is present—the header reserved space for a scrollbar it didn't have, causing columns to misalign at the rightmost scroll position. The fix (merged in PR #36190 on 2025-11-24) adjusts the header and body widths so they always match, resolving the alignment issue when scrolling horizontally to the end [[details]](https://github.com/apache/superset/pull/36190). If you're on 6.0.0rc2 or a build from before that date, updating to the latest master/dev version will resolve this. If you can't upgrade, a temporary workaround is to manually patch the header/body width logic in `useSticky.tsx` as shown in the PR. Some edge cases (like duplicate metric labels or complex groupings) may still cause issues, so if you see misalignment after updating, sharing a minimal reproducible example will help maintainers investigate further. <!-- Dosu Comment Footer --> *To reply, just mention [@dosu](https://go.dosu.dev/dosubot).* --- <sup>How did I do? [Good](https://app.dosu.dev/response-feedback/e352156a-3850-432a-8cba-204ac6a5e461?feedback_type=great_response) | [Irrelevant](https://app.dosu.dev/response-feedback/e352156a-3850-432a-8cba-204ac6a5e461?feedback_type=irrelevant_answer) | [Incorrect](https://app.dosu.dev/response-feedback/e352156a-3850-432a-8cba-204ac6a5e461?feedback_type=incorrect_sources) | [Verbose](https://app.dosu.dev/response-feedback/e352156a-3850-432a-8cba-204ac6a5e461?feedback_type=too_verbose) | [Hallucination](https://app.dosu.dev/response-feedback/e352156a-3850-432a-8cba-204ac6a5e461?feedback_type=hallucination) | [Report 🐛](https://app.dosu.dev/response-feedback/e352156a-3850-432a-8cba-204ac6a5e461?feedback_type=bug_report) | [Other](https://app.dosu.dev/response-feedback/e352156a-3850-432a-8cba-204ac6a5e461?feedback_type=other)</sup> [](https://app.dosu.dev/a28d3c7e-a9d3-459e-9fb6-3a6f9ff4f357/ask?utm_source=github) [](https://cursor.com/link/prompt?text=This%20header/content%20misalignment%20is%20a%20known%20bug%20that%20was%20recently%20fixed%20in%20Superset.%20The%20root%20cause%20was%20a%20mismatch%20in%20width%20calculation%20between%20the%20table%20header%20and%20body%20when%20a%20vertical%20scrollbar%20is%20present%E2%80%94the%20header%20reserved%20space%20for%20a%20scrollbar%20it%20didn%27t%20have%2C%20causing%20columns%20to%20misalign%20at%20the%20rightmost%20scroll%20position.%20The%20fix%20%28merged%20in%20PR%20%2336190%20on%202025-11-24%29%20adjusts%20the%20header%20and%20body%20widths%20so%20they%20always%20match%2C%20resolving%20the%20alignment%20issue%20when%20scrolling%20horizontally%20to%20the%20end%20%5B%5Bdetails%5D%5D%28https%3A//github.com/apache/superset/pull/36190%29.%0A%0AIf %20you%27re%20on%206.0.0rc2%20or%20a%20build%20from%20before%20that%20date%2C%20updating%20to%20the%20latest%20master/dev%20version%20will%20resolve%20this.%20If%20you%20can%27t%20upgrade%2C%20a%20temporary%20workaround%20is%20to%20manually%20patch%20the%20header/body%20width%20logic%20in%20%60useSticky.tsx%60%20as%20shown%20in%20the%20PR.%20Some%20edge%20cases%20%28like%20duplicate%20metric%20labels%20or%20complex%20groupings%29%20may%20still%20cause%20issues%2C%20so%20if%20you%20see%20misalignment%20after%20updating%2C%20sharing%20a%20minimal%20reproducible%20example%20will%20help%20maintainers%20investigate%20further.) [](https://go.dosu.dev/discord-bot) [](https://twitter.com/intent/tweet?text=%40dosu_ai%20helped%20me%20solve%20this%20issue!&url=https%3A//github.com/apache/superset/issues/36370) -- 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]
