-
Notifications
You must be signed in to change notification settings - Fork 2.9k
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
[Search v2.2] mWeb/Chrome Search-Navigate back to the top of messages instead of the selected message #49923
Comments
Triggered auto assignment to @trjExpensify ( |
Triggered auto assignment to @lakchote ( |
👋 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:
|
I think we can demote this to NAB |
Hi, I'm Tymoteusz from Software Mansion and I worked on search-related issues before, I will gladly work on this one. |
Would we want to scroll to the exact same position or would scrolling to the selected chat report be sufficient? |
I think we'd want to scroll to the selected message |
Not overdue @cdOut is working on this. |
Latest update is here. |
@cdOut how is it going? |
Sorry for the late update, I've had to go back to my other ongoing issues with Guided Setup that have higher prio after some backend changes were merged for them. I'll update later today or early tomorrow with the state of the PR for this issue. |
@cdOut friendly bump |
Here's the update, I've created a POC to check whether to only utilize the selected message link id or to save the offset in session storage. I'm currently testing whether we don't have any possible situations where we lose the saved onyx search data after reload so we wouldn't be able to scroll to an unloaded item. Will report back tomorrow. |
There was a bunch of new code that is also plugged into the SelectionList ref so I had to refactor it quite a bit, draft should be ready early next week. |
Draft by @cdOut should be ready early this week. |
@cdOut any update for the draft PR? |
Hi! I can take over this task. Please assign me |
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 1In general preserving scroll position on a webpage after full refresh is not so obvious. 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 2In 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. scroll not preserved after refresh on chat listScreen.Recording.2024-11-04.at.16.54.25.mov |
I'm gonna close this issue for now. Please reopen if needed. |
If you haven’t already, check out our contributing guidelines for onboarding and email contributors@expensify.com to request to join our Slack channel!
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
Issue found when executing PR #49641
Action Performed:
Expected Result:
The app goes back to the message I tapped on before
Actual Result:
The app redirects to the top of messages instead of returning to the previously selected message
Workaround:
Unknown
Platforms:
Which of our officially supported platforms is this issue occurring on?
Screenshots/Videos
Add any screenshot/video evidence
Bug6618990_1727574225145.49641-mWeb.mp4
View all open jobs on GitHub
The text was updated successfully, but these errors were encountered: