Skip to content
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

Ensure Feed maintains scroll position #6984

Merged
merged 3 commits into from
Jul 16, 2024
Merged

Ensure Feed maintains scroll position #6984

merged 3 commits into from
Jul 16, 2024

Conversation

philippjfr
Copy link
Member

When adding or removing children Feed currently jumps around a little bit. This almost fixes this entirely, when scrolling down it always behaves correctly now, when scrolling up it still seems like it jumps further up sometimes but at minimum this is a huge improvement.

panel/models/feed.ts Outdated Show resolved Hide resolved
panel/models/feed.ts Outdated Show resolved Hide resolved
Copy link

codecov bot commented Jul 16, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 81.72%. Comparing base (6294f3d) to head (f7a85d8).
Report is 3 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #6984      +/-   ##
==========================================
- Coverage   81.73%   81.72%   -0.02%     
==========================================
  Files         326      326              
  Lines       48082    48082              
==========================================
- Hits        39302    39297       -5     
- Misses       8780     8785       +5     

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

@philippjfr philippjfr merged commit b632f93 into main Jul 16, 2024
15 checks passed
@philippjfr philippjfr deleted the feed_scroll branch July 16, 2024 09:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant