-
Notifications
You must be signed in to change notification settings - Fork 3.2k
[Due for payment 2025-03-24] [$250] ioS mWeb-Track expense - The page doesn't auto-scroll down after creating track expense #57379
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
Comments
Triggered auto assignment to @laurenreidexpensify ( |
This issue reproduce in iOS/mWeb/chrome. ScreenRecording_02-25-2025.13-52-55_1.MP4 |
Job added to Upwork: https://www.upwork.com/jobs/~021895068233418155876 |
Triggered auto assignment to Contributor-plus team member for initial proposal review - @rojiphil ( |
🚨 Edited by proposal-police: This proposal was edited at 2025-03-01 08:34:26 UTC. ProposalPlease re-state the problem that we are trying to solve in this issue.The page doesn't auto-scroll down after creating track expense What is the root cause of that problem?Due to
What changes do you think we should make in order to solve the problem?To resolve this issue, we use requestAnimationFrame, which ensures execution after layout updates, making the scroll effective. This solution is widely used in many places.
update to requestAnimationFrame(() => {
reportScrollManager.scrollToBottom();
}); Screen.Recording.2025-03-01.at.15.28.30.movWhat specific scenarios should we cover in automated tests to prevent reintroducing this issue in the future?None What alternative solutions did you explore? (Optional)Reminder: Please use plain English, be brief and avoid jargon. Feel free to use images, charts or pseudo-code if necessary. Do not post large multi-line diffs or write walls of text. Do not create PRs unless you have been hired for this job. We scroll to the bottom in onLayout to ensure the layout is updated.
const [isEableScrollToBottom, setIsEableScrollToBottom] = useState(false);
add to: setIsEableScrollToBottom(true);
Update to: onLayout(event);
if (isEableScrollToBottom) {
reportScrollManager.scrollToBottom();
setIsEableScrollToBottom(false);
} |
@rojiphil bump for review ^^ |
Thanks @huult for the proposal. I do not like the |
Triggered auto assignment to @AndrewGable, see https://stackoverflow.com/c/expensify/questions/7972 for more details. |
📣 @huult 🎉 An offer has been automatically sent to your Upwork account for the Contributor role 🎉 Thanks for contributing to the Expensify app! Offer link |
If you are the assigned CME please investigate whether the linked PR caused a regression and leave a comment with the results. If a regression has occurred and you are the assigned CM follow the instructions here. If this regression could have been avoided please consider also proposing a recommendation to the PR checklist so that we can avoid it in the future. |
@huult Something has changed after our PR that has resulted even our fix to not work. Can you please check? |
@rojiphil can you share your screenshot? |
Here are the test videos. Please check Post our PR Fix here57379-PR-Fix.mp4Post Regression Fix PR58469-PR-Fix.mp4 |
|
The solution for this issue has been 🚀 deployed to production 🚀 in version 9.1.13-5 and is now subject to a 7-day regression period 📆. Here is the list of pull requests that resolve this issue: If no regressions arise, payment will be issued on 2025-03-24. 🎊 For reference, here are some details about the assignees on this issue:
|
@rojiphil @laurenreidexpensify @rojiphil The PR fixing this issue has been merged! The following checklist (instructions) will need to be completed before the issue can be closed. Please copy/paste the BugZero Checklist from here into a new comment on this GH and complete it. If you have the K2 extension, you can simply click: [this button] |
@rojiphil After our PR, another PR related to scrolling was created by someone else. I will check it ASAP |
@rojiphil On main branch, the scroll issue is fixed! Does it still occur on your side? Screen.Recording.2025-03-21.at.00.26.08.mov |
BugZero Checklist:
Bug classificationSource of bug:
Where bug was reported:
Who reported the bug:
Regression Test Proposal Template
Regression Test ProposalPrecondition:Test:Do we agree 👍 or 👎 |
@rojiphil bump for checklist thanks |
@rojiphil bump for checklist thanks |
BugZero Checklist:
Bug classificationSource of bug:
Where bug was reported:
Who reported the bug:
Regression Test ProposalPrecondition:Test:
Do we agree 👍 or 👎 |
@laurenreidexpensify Checklist done. Sorry for the delay here. |
$250 approved for @rojiphil |
Uh oh!
There was an error while loading. Please reload this page.
If you haven’t already, check out our contributing guidelines for onboarding and email [email protected] to request to join our Slack channel!
Version Number: v9.1.5-2
Reproducible in staging?: Yes
Reproducible in production?: Yes
If this was caught on HybridApp, is this reproducible on New Expensify Standalone?: N/A
If this was caught during regression testing, add the test name, ID and link from TestRail: n/a
Email or phone of affected tester (no customers): n/a
Issue reported by: Applause Internal Team
Device used: iPhone 13/Safari/Chrome
App Component: Chat Report View
Action Performed:
3.Create a track expense
Expected Result:
The page is auto-scrolls down after creating track expense
Actual Result:
The page doesn't auto-scroll down after creating track expense
Workaround:
Unknown
Platforms:
Screenshots/Videos
Bug6753273_1740456701032.ScreenRecording_02-24-2025_23-05-11_1.mp4
View all open jobs on GitHub
Upwork Automation - Do Not Edit
Issue Owner
Current Issue Owner: @laurenreidexpensifyThe text was updated successfully, but these errors were encountered: