-
Notifications
You must be signed in to change notification settings - Fork 292
fix(InfiniteScroll): replace refs with state-based deps #2740
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
0d47da1 to
d172488
Compare
|
Size Change: -138 B (-0.01%) Total Size: 1.35 MB
ℹ️ View Unchanged
|
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## master #2740 +/- ##
==========================================
- Coverage 81.34% 81.34% -0.01%
==========================================
Files 481 481
Lines 9541 9535 -6
Branches 2221 2219 -2
==========================================
- Hits 7761 7756 -5
Misses 1408 1408
+ Partials 372 371 -1 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
| <Component {...elementProps} ref={setScrollComponent}> | ||
| {head} | ||
| {loader} | ||
| {children} | ||
| </Component> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
When we switch tsconfig.json#jsx option to react-jsx this will be translated to the _jsx function and React won't have to be imported to this module.
## [13.1.2](v13.1.1...v13.1.2) (2025-06-19) ### Bug Fixes * **InfiniteScroll:** replace refs with state-based deps ([#2740](#2740)) ([148db93](148db93))
|
🎉 This PR is included in version 13.1.2 🎉 The release is available on: Your semantic-release bot 📦🚀 |
🎯 Goal
Fixes an issue where
MessageListis loaded scrolled up to the seemingly random location and not at the bottom as it's supposed to be.Ref: https://getstream.slack.com/archives/C089TAPMPU0/p1750320899229359