You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[Search v2.2] mWeb/Chrome Search-Navigate back to the top of messages instead of the selected message #49923
Version Number: 9.0.41 Reproducible in staging?: Y Reproducible in production?: N If this was caught during regression testing, add the test name, ID and link from TestRail: N/A Issue reported by: Applause - Internal Team
👋 Friendly reminder that deploy blockers are time-sensitive ⏱ issues! Check out the open `StagingDeployCash` deploy checklist to see the list of PRs included in this release, then work quickly to do one of the following:
Identify the pull request that introduced this issue and revert it.
@lakchote hey! Sorry for the delays here, someone else will take over the task, read through the partial solution that @cdOut left and push this forward.
We spent a bit of time looking at this task with @289Adam289 and we have some considerations, mainly a question: is this really a bug?
reasoning 1
In general preserving scroll position on a webpage after full refresh is not so obvious.
We are lazy loading data in Search, which means that before clicking on a report you might've scrolled down to for example search result number 200+.
After user clicks report, and then hits "refresh", then clicks back button on the report what should happen? should we somehow make sure that the same 200 search items are fetched?
I personally as a user of websites would not expect that, after refreshing page with lazy loaded data, that my scroll will be preserved.
reasoning 2
In addition to above, we tried to find a similar pattern in E/App and we couldn't find cases where scroll position would be preserved like this.
Please as an example take a look that the exact same behaviour happens on chat list page.
Activity
melvin-bot commentedon Sep 30, 2024
Triggered auto assignment to @trjExpensify (
Bug), see https://stackoverflow.com/c/expensify/questions/14418 for more details. Please add this bug to a GH project, as outlined in the SO.melvin-bot commentedon Sep 30, 2024
Triggered auto assignment to @lakchote (
DeployBlockerCash), see https://stackoverflowteams.com/c/expensify/questions/9980/ for more details.github-actions commentedon Sep 30, 2024
👋 Friendly reminder that deploy blockers are time-sensitive ⏱ issues! Check out the open `StagingDeployCash` deploy checklist to see the list of PRs included in this release, then work quickly to do one of the following:
luacmartins commentedon Sep 30, 2024
I think we can demote this to NAB
35 remaining items
lakchote commentedon Oct 29, 2024
Draft by @cdOut should be ready early this week.
melvin-bot commentedon Nov 1, 2024
@lakchote, @cdOut Whoops! This issue is 2 days overdue. Let's get this updated quick!
lakchote commentedon Nov 4, 2024
@cdOut any update for the draft PR?
Kicu commentedon Nov 4, 2024
@lakchote hey! Sorry for the delays here, someone else will take over the task, read through the partial solution that @cdOut left and push this forward.
I will write an update by eod today.
289Adam289 commentedon Nov 4, 2024
Hi! I can take over this task. Please assign me
Kicu commentedon Nov 4, 2024
@lakchote @luacmartins
We spent a bit of time looking at this task with @289Adam289 and we have some considerations, mainly a question: is this really a bug?
reasoning 1
In general preserving scroll position on a webpage after full refresh is not so obvious.
We are lazy loading data in Search, which means that before clicking on a report you might've scrolled down to for example search result number 200+.
After user clicks report, and then hits "refresh", then clicks back button on the report what should happen? should we somehow make sure that the same 200 search items are fetched?
I personally as a user of websites would not expect that, after refreshing page with lazy loaded data, that my scroll will be preserved.
reasoning 2
In addition to above, we tried to find a similar pattern in E/App and we couldn't find cases where scroll position would be preserved like this.
Please as an example take a look that the exact same behaviour happens on chat list page.
scroll not preserved after refresh on chat list
Screen.Recording.2024-11-04.at.16.54.25.mov
luacmartins commentedon Nov 4, 2024
Those are really good points @Kicu. I agree with those and as such, I think we can just close this issue. @lakchote what do you think?
luacmartins commentedon Nov 4, 2024
I'm gonna close this issue for now. Please reopen if needed.