-
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
[HOLD for payment 2024-07-22] [HOLD for payment 2024-07-17] [$1000] mWeb - Chat – Unable to zoom the image with pinching #36597
Comments
Job added to Upwork: https://www.upwork.com/jobs/~016170309acaa20014 |
Triggered auto assignment to Contributor-plus team member for initial proposal review - @thesahindia ( |
Triggered auto assignment to @laurenreidexpensify ( |
We think that this bug might be related #vip-vsb |
ProposalPlease re-state the problem that we are trying to solve in this issue.gestures won't work when viewing image attachments on the web app What is the root cause of that problem?new feature What changes do you think we should make in order to solve the problem?on web App/src/components/ImageView/index.tsx Lines 194 to 215 in 8bdb753
we display images using the Lightbox component instead of regular images. This will allow users to interact with the images using touch gestures. if (canUseTouchScreen) {
return (
<Lightbox
uri={url}
zoomRange={zoomRange}
isAuthTokenRequired={isAuthTokenRequired}
onError={onError}
style={style}
/>
);
}
const zoomScale = Math.min((canvasSize?.width ?? 0) / (contentSize?.width ?? 0), (canvasSize?.height?? 0) / (contentSize?.height ?? 0)); this controls how the image fits within the frame when its original size differs from the frame's dimensions. <MultiGestureCanvas
isActive={isActive}
canvasSize={canvasSize}
contentSize={contentSize}
zoomRange={zoomRange}
pagerRef={pagerRef}
shouldDisableTransformationGestures={isPagerScrolling}
onTap={onTap}
onScaleChanged={scaleChange}
>
<Image
source={{uri}}
style={contentSize ?? DEFAULT_IMAGE_DIMENSION}
isAuthTokenRequired={isAuthTokenRequired}
onError={onError}
onLoad={updateContentSize}
onLoadEnd={() => {
setLightboxImageLoaded(true);
}}
resizeMode={zoomScale > 1 ? RESIZE_MODES.center : RESIZE_MODES.contain}
/>
</MultiGestureCanvas> result: Simulator.Screen.Recording.-.iPhone.14.-.2024-02-26.at.00.03.37.mp4untitled.mp4What alternative solutions did you explore? (Optional) |
Please reassign. I can't take it! |
I can take over. We are not yet supporting zoom image in mobile web. |
📣 @situchan 🎉 An offer has been automatically sent to your Upwork account for the Contributor role 🎉 Thanks for contributing to the Expensify app! Offer link |
Asking internally here https://expensify.slack.com/archives/C066HJM2CAZ/p1708364190263029 whether we need to fix this |
Still chatting internally |
@laurenreidexpensify, @situchan Whoops! This issue is 2 days overdue. Let's get this updated quick! |
Bumped thread internally for further clarity |
@situchan confirmed internally - let's do it! |
@laurenreidexpensify thanks |
📣 @ZhenjaHorbach 🎉 An offer has been automatically sent to your Upwork account for the Contributor role 🎉 Thanks for contributing to the Expensify app! Offer link |
@mallenexpensify PR will be ready today or tomorrow |
@badeggg In the PR phase, the author used LightBox as you suggested before. I also test your mention here
I still can swipe Screen.Recording.2024-06-18.at.10.15.51.mov
how can we verify that?
@ZhenjaHorbach Can you check the bug on chrome iOS?
Can you elaborate more? |
If the bug I noticed does not exist any more, maybe it's because dependency version updating. And, just curious, why the assigned contributor is not the one who proposed the c+ accepted proposal. |
Actually yes, the bug exists |
|
The solution for this issue has been 🚀 deployed to production 🚀 in version 9.0.5-13 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-07-17. 🎊 For reference, here are some details about the assignees on this issue:
|
BugZero Checklist: The PR fixing this issue has been merged! The following checklist (instructions) will need to be completed before the issue can be closed:
|
The solution for this issue has been 🚀 deployed to production 🚀 in version 9.0.6-8 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-07-22. 🎊 For reference, here are some details about the assignees on this issue:
|
BugZero Checklist: The PR fixing this issue has been merged! The following checklist (instructions) will need to be completed before the issue can be closed:
|
Contributor: @ZhenjaHorbach paid $1000 via Upwork @dukenv0307 plz complete the BZ checklist above. |
BugZero Checklist:
Regression tests:
Do we 👍 or 👎 |
Thanks @dukenv0307 |
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: v1.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:
Email or phone of affected tester (no customers):
Logs: https://stackoverflow.com/c/expensify/questions/4856
Expensify/Expensify Issue URL:
Issue reported by: Applause - Interna; Team
Slack conversation:
Issue found when executing PR #34080
Action Performed:
Expected Result:
Able to zoom the image with pinching
Actual Result:
Unable to zoom the image with pinching
Workaround:
Unknown
Platforms:
Which of our officially supported platforms is this issue occurring on?
Screenshots/Videos
Add any screenshot/video evidence
Bug6380765_1708008491410.Screenrecorder-2024-02-15-14-08-47-83.mp4
View all open jobs on GitHub
Upwork Automation - Do Not Edit
Issue Owner
Current Issue Owner: @dukenv0307The text was updated successfully, but these errors were encountered: