-
Notifications
You must be signed in to change notification settings - Fork 3.1k
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
[HOLD for payment 2024-12-05] [$250] Trackpad gestures for navigation history does not work in Newdot #51704
Comments
Triggered auto assignment to @VictoriaExpensify ( |
ProposalPlease re-state the problem that we are trying to solve in this issue.2-finger swipe gesture doesn't work in web. What is the root cause of that problem?The gesture doesn't work because we disable the Lines 37 to 41 in fe779d9
This was added in #15100 to specifically not allow the body to be scrollable on iOS safari. What changes do you think we should make in order to solve the problem?We should disable the overscroll-behavior (and touch-action if needed) for iOS safari only. First, remove it from here. Lines 37 to 41 in fe779d9
Then, add a new selector style to disable
Last, apply the class to the body if it's mobile safari. (we can apply this in App.tsx)
What alternative solutions did you explore? (Optional)Remove the overscroll-behavior and touch-action hack just like we remove the opacity hack from #15100 in #18266. |
Reproduced the issue. I agree this is a problem we should fix |
Job added to Upwork: https://www.upwork.com/jobs/~021852208286215064025 |
Triggered auto assignment to Contributor-plus team member for initial proposal review - @mananjadhav ( |
@mananjadhav, @VictoriaExpensify Uh oh! This issue is overdue by 2 days. Don't forget to update your issues! |
@bernhardoj Do we have any solution for the scroll behavior if we remove the work around that you've proposed in the alternative solution? |
To be honest, I'm not sure what's the problem that the overscroll-behavior trying to solve with the body element. The comment just said that they added it to prevent the body from being scrolled, without showcasing the reproducible issue. So, I'm under the assumption that they just added it just to be safe, so there isn't really an existing issue that overscroll-behavior and touch-action solve. overscroll-behavior docs also don't mention preventing an element from being scrolled. If we want to prevent an element from being scrolled, we should use overflow: hidden instead (which was added in #14005). ![]() Also, the issue they are trying to solve isn't caused by the body being scrolled. The root cause of the issue is well explained here. |
Here is the comparison when using overflow:hidden on or off and overscroll-behavior:none on or off. scroll.mp4 |
📣 It's been a week! Do we have any satisfactory proposals yet? Do we need to adjust the bounty for this issue? 💸 |
I remember having an issue of black screen when scrolling when we worked on the PR. but it looks like it's not needed. I think @bernhardoj's proposal of removing the scroll behavior altogether should be tried first and then may be related t Mobile Safari. 🎀 👀 🎀 C+ reviewed |
Triggered auto assignment to @Beamanator, see https://stackoverflow.com/c/expensify/questions/7972 for more details. |
PR is ready cc: @mananjadhav |
Asked a question to @Beamanator here |
Responded! |
|
The solution for this issue has been 🚀 deployed to production 🚀 in version 9.0.67-9 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 2024-12-05. 🎊 For reference, here are some details about the assignees on this issue:
|
@mananjadhav @VictoriaExpensify @mananjadhav 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] |
BugZero Checklist:
Source of bug:
Where bug was reported:
Who reported the bug:
Regression Test ProposalPrecondition:
Test:
Do we agree 👍 or 👎 |
Requested in ND. |
Payment Summary
BugZero Checklist (@VictoriaExpensify)
|
Raised issue to add the regression test to test rail - https://github.com/Expensify/Expensify/issues/451044 |
Payment Summary: Reviewer: @mananjadhav owed $250 via NewDot |
$250 approved for @bernhardoj |
$250 approved for @mananjadhav |
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.55-6
Reproducible in staging?: Y
Reproducible in production?: Y
If this was caught on HybridApp, is this reproducible on New Expensify Standalone?:
If this was caught during regression testing, add the test name, ID and link from TestRail:
Email or phone of affected tester (no customers):
Logs: https://stackoverflow.com/c/expensify/questions/4856
Expensify/Expensify Issue URL:
Issue reported by: @ishpaul777
Slack conversation: https://expensify.slack.com/archives/C049HHMV9SM/p1730106001602619
Action Performed:
Expected Result:
It navigate back to previous page like other apps
Actual Result:
Nothing happens
Workaround:
Unknown
Platforms:
Which of our officially supported platforms is this issue occurring on?
Screenshots/Videos
Add any screenshot/video evidence
Recording.3168.mp4
View all open jobs on GitHub
Upwork Automation - Do Not Edit
Issue Owner
Current Issue Owner: @VictoriaExpensifyThe text was updated successfully, but these errors were encountered: