Skip to content

Conversation

@ericlln
Copy link
Contributor

@ericlln ericlln commented Nov 17, 2025

Cherry-pick #2547 into v0.85

- I believe the functionality stopped working after
deephaven@9f87985,
where an added `setState` call at the end of `componentDidUpdate` would
overwrite any scroll position state state changes made in
`checkStickyScroll()`
- Now the relevant scroll position state changes are made in the same
`setState` call at the end of `componentDidUpdate`
- Added an e2e test to test the stuck to bottom scrolling functionality
# Conflicts:
#	tests/table-scroll.spec.ts
@ericlln ericlln self-assigned this Nov 17, 2025
@codecov
Copy link

codecov bot commented Nov 17, 2025

Codecov Report

❌ Patch coverage is 57.57576% with 14 lines in your changes missing coverage. Please review.
✅ Project coverage is 48.45%. Comparing base (af19156) to head (d34e4d6).

Files with missing lines Patch % Lines
packages/grid/src/Grid.tsx 57.57% 14 Missing ⚠️
Additional details and impacted files
@@                Coverage Diff                @@
##           release/v0.85    #2578      +/-   ##
=================================================
+ Coverage          48.43%   48.45%   +0.02%     
=================================================
  Files                712      712              
  Lines              39734    39736       +2     
  Branches            9921    10110     +189     
=================================================
+ Hits               19244    19253       +9     
+ Misses             20477    20426      -51     
- Partials              13       57      +44     
Flag Coverage Δ
unit 48.45% <57.57%> (+0.02%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@ericlln ericlln marked this pull request as ready for review November 18, 2025 01:08
@ericlln ericlln requested review from a team and bmingles and removed request for a team November 18, 2025 01:08
Copy link
Contributor

@bmingles bmingles left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@ericlln ericlln merged commit 903938a into deephaven:release/v0.85 Nov 18, 2025
11 checks passed
@github-actions github-actions bot locked and limited conversation to collaborators Nov 18, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants