fix/bring back all row calculations#871
Conversation
|
Caution Review failedThe pull request is closed. ℹ️ Recent review info⚙️ Run configurationConfiguration used: Repository UI Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (1)
WalkthroughThe viewport scroll component's ChangesViewport scroll width calculation
Estimated code review effort🎯 3 (Moderate) | ⏱️ ~20 minutes Possibly related PRs
Suggested labels
Poem
✨ Finishing Touches📝 Generate docstrings
🧪 Generate unit tests (beta)
Warning There were issues while running some tools. Please review the errors and either fix the tool's configuration or disable the tool if it's a critical failure. 🔧 ESLint
ESLint skipped: no ESLint configuration detected in root package.json. To enable, add Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
|
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 6f40a10b20
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
| this.contentWidth, | ||
| this.horizontalScroll?.clientWidth ?? 0, | ||
| ); | ||
| const physicalContentWidth = getContentSize(this.contentWidth, 0); |
There was a problem hiding this comment.
Preserve pinned viewport width beyond max scroll guard
Using getContentSize(this.contentWidth, 0) here reintroduces scroll-size compression for pinned sections, because getContentSize clamps physical size to the safeContentSize limit in getScrollDimension. For colPinStart/colPinEnd (which do not horizontally scroll), this truncates the rendered pinned pane when total pinned width exceeds the guard (~15,000,000px), so part of pinned columns becomes unreachable; the previous branch avoided this by using raw contentWidth for pinned types.
Useful? React with 👍 / 👎.



Summary by CodeRabbit