[PER-10593] Reset scroll to top on public folder navigation#1070
[PER-10593] Reset scroll to top on public folder navigation#1070aasandei-vsp wants to merge 1 commit into
Conversation
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #1070 +/- ##
==========================================
- Coverage 51.71% 51.70% -0.01%
==========================================
Files 354 354
Lines 12067 12066 -1
Branches 2172 2171 -1
==========================================
- Hits 6240 6239 -1
- Misses 5601 5602 +1
+ Partials 226 225 -1 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
cecilia-donnelly
left a comment
There was a problem hiding this comment.
Makes sense to me! I tried it and it worked.
Public archive routes don't set showSidebar, so the scroll-to-top reset in FileListComponent.ngAfterViewInit was skipped, leaving sub-folders scrolled to the parent folder's position. Ungate the reset so it runs in all contexts; getScrollElement already targets the correct element (the document) when there is no sidebar. Issue: PER-10593
fcfe7d5 to
6a63152
Compare
QA InstructionsQA Testing Instructions for PR: Reset Scroll to Top on Public Folder NavigationSummaryThis PR addresses a bug where navigating to subfolders in the public folder view does not reset the scroll position to the top. Previously, scroll resetting was skipped unless the Test Environment Setup
Test Scenarios
Regression Risks
Things to Watch For
Follow these detailed test cases to validate the targeted fix and ensure no unintended side effects are introduced. Generated by QA Instructions Action |
Steps to check in ticket: https://permanent.atlassian.net/browse/PER-10593