mirror of
https://github.com/apache/superset.git
synced 2026-07-13 18:25:58 +00:00
The configured SCREENSHOT_TILED_VIEWPORT_HEIGHT (default 2000px) was larger than Playwright's actual browser viewport (~768-1200px), causing scroll increments to skip content between tiles. Now we fetch the actual viewport height and use min(configured, actual) for scroll calculations to ensure complete content coverage. Added regression test to verify tiles properly cover all content when configured viewport exceeds actual viewport size. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>