-
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
[$500] Attachment - Navigation arrows not disabled and PDF can be swiped while zoomed in #36634
Comments
Triggered auto assignment to @puneetlath ( |
We think that this bug might be related to #vip-vsp |
@bz FYI I haven't added the External label as I wasn't 100% sure about this issue. Please take a look and add the label if you agree it's a bug and can be handled by external contributors |
@puneetlath Uh oh! This issue is overdue by 2 days. Don't forget to update your issues! |
Job added to Upwork: https://www.upwork.com/jobs/~01b58822d8679c7299 |
Triggered auto assignment to Contributor-plus team member for initial proposal review - @DylanDylann ( |
Making external as this does seem like a bug. |
ProposalPlease re-state the problem that we are trying to solve in this issue.PDF can be swiped using the navigation arrows while zoomed in What is the root cause of that problem?We're not setting What changes do you think we should make in order to solve the problem?Set What alternative solutions did you explore? (Optional)We can set the |
@puneetlath I also see this bug happen on the web Screen.Recording.2024-02-20.at.15.29.43.movShould we fix this issue on all platforms or only for native mobile? I suggest we only fix this issue on the native mobile app because I don't think It's a problem on web |
@tienifr Your proposal looks promising but It only fix this issue on android |
ProposalPlease re-state the problem that we are trying to solve in this issue. What is the root cause of that problem? What changes do you think we should make in order to solve the problem? 1. We have to use let instead of count for isScrollEnabled: Updated code: 2. We have to change code for onScaleChanged for if condition for When a pdf is shown in a carousel, we want to disable the pager scroll when the pdf is zoomed in:
Updated code:
Then it will work fine with onPress in src/components/Attachments/AttachmentView/AttachmentViewPdf/BaseAttachmentViewPdf.js file. Which is:
Screen.Recording.2024-02-20.at.15.08.30.movWhat alternative solutions did you explore? (Optional) |
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. |
It fixes for both Android, iOS
It's intentional to only hide the arrows on native mobile and mobile web because those arrows will take a significant amount of space on small screen. On desktop web the arrows are very small so it should show. If we look at this line, we can see that it's intentional not to hide the arrows on non-touch-screen (aka desktop) web. |
@tienifr's proposal looks good to me. I also think we only need to fix on mobile app and mobile web. 🎀 👀 🎀 C+ reviewed |
Current assignee @puneetlath is eligible for the choreEngineerContributorManagement assigner, not assigning anyone new. |
📣 @DylanDylann 🎉 An offer has been automatically sent to your Upwork account for the Reviewer role 🎉 Thanks for contributing to the Expensify app! |
📣 @tienifr 🎉 An offer has been automatically sent to your Upwork account for the Contributor role 🎉 Thanks for contributing to the Expensify app! Offer link |
Actually, let's consolidate conversation here: #36873 (comment) |
@puneetlath The issue was fixed it #37202. We can proceed next steps. Since we (I and C+) have comitted efforts for PR and the delay was mostly on internal side, I believe we can still be compensated for this. Thanks. |
Ok I think that's fair, since the full PR and review was done. Paid it, thanks everyone. |
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: 1.4.42.1
Reproducible in staging?: Y
Reproducible in production?: Y
If this was caught during regression testing, add the test name, ID and link from TestRail: https://expensify.testrail.io/index.php?/tests/view/4318973
Email or phone of affected tester (no customers):
Logs: https://stackoverflow.com/c/expensify/questions/4856
Expensify/Expensify Issue URL:
Issue reported by: Applause - Internal Team
Slack conversation:
Action Performed:
Expected Result:
PDF is now swiped and the navigation arrows are disabled while zoomed in
Actual Result:
PDF can be swiped using the navigation arrows while zoomed in
Workaround:
Unknown
Platforms:
Which of our officially supported platforms is this issue occurring on?
Screenshots/Videos
Add any screenshot/video evidence
Bug6381181_1708028243865.video_2024-02-15_15-17-03.mp4
View all open jobs on GitHub
Upwork Automation - Do Not Edit
The text was updated successfully, but these errors were encountered: