-
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
Web - Attachments - Unable to get to the top of images with long height and not able to zoom #6518
Comments
👋 Friendly reminder that deploy blockers are time-sensitive ⏱ issues! Check out the open
|
Triggered auto assignment to @johnmlee101 ( |
Looks like this was introduced in #6437. On line 107, top of the image is being set to a negative value when image height is greater than container height. This prevents the scroll from ever reaching the top of the image. Lines 93 to 115 in 2b7d6d0
This can be fixed by to modifying the line to something like below, which will set top to 0 for extra long images. const top = `${Math.max((containerHeight - imgHeight) / 2, 0)}px`; |
@railway17 could you please fix the issue? Thanks @aswin-s for investigation. |
@parasharrajat, @aswin-s , @deetergp |
📣 @railway17 You have been assigned to this job by @johnmlee101! |
Where is Upwork job link? |
That message is deceptive. This is a regression so there won't be any job for it. |
Ah.. |
Okay, this is no longer a deploy blocker, but it seems like this issue is reproducible in production on android. So @railway17 we'll need to get this fixed because it was a regression caused by #6442 that was not fixed by #6535 |
@railway17 Here's a draft PR which has some changes that should be included in the fix: #6599 |
Where are we with this? |
I've attached my video in #6326 below. |
@kavimuru could this be re-tested and closed if resolved? |
Issue is still reproducible Screen_Recording_20211213-150141_New.Expensify.mp4 |
Ok, I got it. |
Hi, @roryabraham , @johnmlee101 But I have also noticed that the Android version has an important bug regarding this. 20211215004816703.mp4I think these 2 mobile issues should be treated as another ticket. |
@johnmlee101, @railway17 Whoops! This issue is 2 days overdue. Let's get this updated quick! |
Issue not reproducible during KI retests. (First week) |
@johnmlee101, @railway17 6 days overdue. This is scarier than being forced to listen to Vogon poetry! |
Going to see if this remaining not reproducible for another week.
Can you propose this in the contributor Slack? That way we can go through the process to tackle this 😄 |
I reported this issue in contributor Slack |
Issue not reproducible during KI retests. (Second week) |
@johnmlee101, @railway17 Huh... This is 4 days overdue. Who can take care of this? |
Can you link the Slack message? 😄 |
Issue not reproducible during KI retests. (Third week) Should we close this @johnmlee101? |
Let's do it! |
If you haven’t already, check out our contributing guidelines for onboarding and email contributors@expensify.com to request to join our Slack channel!
Issue was reproduce when executing #6442
Action Performed:
Expected Result:
User is able to see whole image and scroll thorough all of it
Actual Result:
User can't reach very top of the image by either scrolling or zooming
Workaround:
Unknown
Platform:
Where is this issue occurring?
Version Number: 1.1.17-0
Reproducible in staging?: Yes
Reproducible in production?: No
Logs: https://stackoverflow.com/c/expensify/questions/4856
Notes/Photos/Videos:
Long image
Issue was reproduce when executing #6442
Expensify/Expensify Issue URL:
Issue reported by: Applause
Slack conversation:
View all open jobs on GitHub
The text was updated successfully, but these errors were encountered: