-
Notifications
You must be signed in to change notification settings - Fork 3k
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 App/issues/16660] [$2000] Pinch to zoom on a Macbook browser dynamically changes the app's view and components #17246
Comments
Triggered auto assignment to @alexpensify ( |
Bug0 Triage Checklist (Main S/O)
|
I'll try to test soon. |
Job added to Upwork: https://www.upwork.com/jobs/~01caf96ff9d8613c10 |
Current assignee @alexpensify is eligible for the External assigner, not assigning anyone new. |
Triggered auto assignment to Contributor-plus team member for initial proposal review - @fedirjh ( |
Triggered auto assignment to @tgolen ( |
This comment was marked as off-topic.
This comment was marked as off-topic.
ProposalPlease re-state the problem that we are trying to solve in this issue.Pinch to zoom on a Macbook browser dynamically changes the app's view and components What is the root cause of that problem?This is caused by how What changes do you think we should make in order to solve the problem?There is an option to make an upstream fix in What alternative solutions did you explore? (Optional) |
@fedirjh - early this week, can you share feedback on this new proposal? Thanks! |
Thank you for sharing your proposal, @alitoshmatov. I agree with your RCA. However, I'd like to point out that the use of viewport dimensions was intentionally added in this commit Expensify/react-native-web@ccfd936 (PR #14392) to address this issue #11463. It seems that you are suggesting reverting these changes, but I don't think that would be ideal unless you also provide a solution for #11463. |
@fedirjh Is it possible that we return one more field from dimensions from |
@alitoshmatov Can you please elaborate more ? How would that fix the issue ? |
Thanks for the research into this issue. One thing that isn't clear to me is why this is the expected behavior. Can anyone add some details about that? Is it because that's what happens on normal websites when you pinch to zoom? |
@tgolen The MDN documentation on viewport states that the layout The reason why zooming affects the This behavior is expected because it reflects the user's interaction with the webpage. When the user pinch to zoom on a webpage, they are changing the scale of the content to better suit their needs, such as making the text easier to read or viewing an image in more detail. They do not expect the page to change its layout when they pinch to zoom, as the position of the content may change or even disappear, resulting in a bad UX.
That's correct, even oldDot has this behavior where the website's layout is maintained when you pinch to zoom. Screen.Recording.2023-04-17.at.7.39.08.PM.mov |
Great, thank you! That is an excellent explanation. Sounds like the next step for this is still waiting on an answer for #17246 (comment) |
@fedirjh I am suggestion to pass And then we can modify here to use But there is a concern which this solution might break philosophy of platform independent code. Since this code |
Weekly update: On Hold |
Weekly Update: There should be a PR soon for the GH that put this one on hold |
Weekly update: On Hold |
Weekly update: On Hold but we had some GH movement yesterday. 🤞🏼 |
Weekly update: On Hold |
RNW upgrade PR has been merged, we can remove the hold once it has been deployed to production. |
Thank you for that update @fedirjh! |
@fedirjh - I realized that I don't think the PR you mentioned last week is in this GH. Can you please share the link since the one in the title has many PRs associated with it now? Thanks! |
@alexpensify This is the PR, it was just deployed to production |
I think this should be awaiting for the regression period then payments as the bug was fixed.
@alexpensify The upgrade PR already includes the fix that was proposed in this issue, the fix was pushed and merged upstream and was released in the RNW v This video demonstrates that the bug was fixed: CleanShot.2023-11-15.at.19.56.35.mp4 |
#24482 is live, which means we can take this issue off hold, finally 🥳 |
Ok, I chatted with @tgolen. Let's keep this one on hold to clear the regression period. @fedirjh - Sorry, I'm confused are you suggesting that the PR (#24482) for #16660 fixed this issue too? If yes, then we will need to prepare for partial payment here instead of another fix when the HOLD is removed in this GitHub? I want to confirm the required actions since I will be OOO next week. If there is no new fix for this issue, then can find a replacement to take over the payment process in Upwork. Thanks! |
@alexpensify We addressed this particular issue upstream, and the corresponding fix was included in the release of RNW
The upstream fix was a part of this issue. The process for this issue was :
Steps 1 and 2 were successfully completed. Upon completing the final step, the decision was made to discontinue the RNW fork. Instead, we began utilizing the Given that RNW |
Got it, we will close after the regression period and prepare for the payment period. Thanks! |
Reassigning another team member, I'm going OOO until Monday, November 27, and will take it back if it's still open by my return date. @laurenreidexpensify - Required action from the team: There will need to be a payment after the regression period closes while I'm offline next week. I haven't been able to write up a payment summary but will need help with that one before the payment date and then pay everyone via Upwork. Thanks! |
Ready for payment, regression period has passed as #24482 has been on staging for a week |
Payment Summary:
|
Offers sent in Upwork, @fedirjh is there a regression test that we need to add for this one? |
Accepted the offer |
Payment Summary:
|
Outstanding action: waiting for @fedirjh to confirm if we need a regression test |
BugZero Checklist:
Regression Test Proposal
|
Thanks for your help here @laurenreidexpensify to complete the payment process! |
If you haven’t already, check out our contributing guidelines for onboarding and email [email protected] to request to join our Slack channel!
Action Performed:
1 (alternate). On a fresh sign in page, zoom in on any part of the site with pinch to zoom.
Expected Result
The page doesn't reorganize or shfit as you zoom in this way, this should be equivalent to magnification and shouldn't change the content ordering or structure of the app.
Actual Result
App re-renders into different various forms as you zoom in breaking your ability to zoom into
Workaround:
unknown
Platforms:
Which of our officially supported platforms is this issue occurring on?
Version Number: 1.2.98-1
Reproducible in staging?: needs reproduction
Reproducible in production?: needs reproduction
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
Notes/Photos/Videos: Any additional supporting documentation
Screen.Recording.2023-04-10.at.2.53.22.PM.mov
Expensify/Expensify Issue URL:
Issue reported by: @johnmlee101
Slack conversation: https://expensify.slack.com/archives/C049HHMV9SM/p1681152993219619
View all open jobs on GitHub
Upwork Automation - Do Not Edit
The text was updated successfully, but these errors were encountered: