-
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
fix: hide overflow of html's body to fix scroll bug on safari ios #14005
fix: hide overflow of html's body to fix scroll bug on safari ios #14005
Conversation
@danieldoglas Please copy/paste the Reviewer Checklist from here into a new comment on this PR and complete it. If you have the K2 extension, you can simply click: [this button] |
@pecanoro , you should be assigned to this PR review since it was created from an issue you're the CME, right? |
@danieldoglas Yes assign me & @pecanoro as reviewers. |
Yeah, unfortunately I can't change the reviewers (lacking permissions). I assume you could re-assign it to @pecanoro and @Santhosh-Sellavel though. 🙂 |
The issue of not being linked properly is the problem here. Should be linked as follows which would show as $ #13599 Please update the link, and keep a note of it. This is important as it's used for automating certain things, i.e assigning the correct reviewers, tracking PR deployment status on issues, etc |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Adding my self as reviewer
@Santhosh-Sellavel ok, done updated. Added a "#" infront of the issue's number. Haven't had this problem before (closed 2 PRs), so thanks for letting me know. Hope it could be reviewed now? |
Reviewer Checklist
Screenshots/VideosWebScreen.Recording.2023-01-09.at.11.13.37.PM.movMobile Web - ChromeScreen_Recording_20230109_230000_One.UI.Home.mp4Mobile Web - SafariRPReplay_Final1673284971.MP4DesktopScreen.Recording.2023-01-09.at.11.14.52.PM.moviOSAndroid |
Hello there 👋 Can we get the review going or are we waiting on smt else? 🙂 cc @Santhosh-Sellavel |
@shonsirsha Thanks for the bump I failed to post this one yesterday, actually something is off in android, can you check? I tried to scroll down to the end, few more empty scroll down even after reaching the end of the list. Now trying to scroll back it's not working right away Screen_Recording_20230108_024006_New.Expensify.mp4 |
@Santhosh-Sellavel No worries. Android you meant android app right? If so, the issue you mentioned also exists in k.movActually this issue also exists in production: IMG_5826.mp4Tagging @pecanoro, would you be able to test it (if this issue exists in prod/main) to make sure that it's a separate issue (not related to this PR)? Thx! |
@shonsirsha Yeah it exists in the main, this feels like the same issue but on a different platform. So fix is expected here as well, but I let @pecanoro make the final call on it. |
Thanks @Santhosh-Sellavel, will wait on their final call then. Just my 2 cents, the problem that we have here on Android isn't exactly the same. Moreover, the issue was focusing on iOS scroll problem, and Android (app) wasn't mentioned at all in the issue, It's an mWeb issue on iOS. (iOS mWeb - Scroll behavior on some pages is inconsistent and broken). While it may look like that it's the same "scroll bug" on the surface, they aren't the same - I could try describing it this way:
Frankly, these 2 sound like they're completely different issues to me.. 🤔 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The main issue discussed here is fixed, tests well. I run into another issue here it looks related and slightly different form the issue we are addressing here.
If you think both are different please merge this one as the main issue is solved and tests well, or do we need to wait to solve the other one too?, thanks!
I can attest the Android glitch is on prod as well, it's a bit of an edge glitch though since you have to consciously spam scrolling down. @Santhosh-Sellavel Can you post the bug on Slack? Maybe the team agrees to create an issue to fix it. I will finish testing the PR and I will merge it if I can't find any other issues. |
I'll report it on slack, thanks @pecanoro! |
Unless I missed something, it seems to be working well! |
✋ This PR was not deployed to staging yet because QA is ongoing. It will be automatically deployed to staging after the next production release. |
Performance Comparison Report 📊Significant Changes To DurationThere are no entries Meaningless Changes To DurationShow entries
Show details
|
@shonsirsha @Santhosh-Sellavel @pecanoro this PR looks like we should QA it. Can you please add QA steps |
🤦 Not sure How did I missed that, @shonsirsha can you add test steps please |
Oh dammit, I remember noticing that when reviewing and forgot to post about it before merging. |
@mvtglobally @pecanoro @Santhosh-Sellavel sorry! I totally missed it as well. Added now! |
🚀 Deployed to production by @Julesssss in version: 1.2.53-0 🚀
|
cc @Santhosh-Sellavel
Details
On safari (iOS), sometimes scrolling locks. This means when a user scrolls, the whole page gets scrolled, but not the actual list that the user intends to scroll - causing the scrolling to not be useful at all hence it's called "locked". Check issue below to see the bug visually.
Fixed Issues
$ #13599
PROPOSAL: GH_LINK_ISSUE(COMMENT)
Tests
Offline tests
Same as tests.
QA Steps
PR Author Checklist
### Fixed Issues
section aboveTests
sectionOffline steps
sectionQA steps
sectiontoggleReport
and notonIconClick
)src/languages/*
files and using the translation methodWaiting for Copy
label for a copy review on the original GH to get the correct copy.STYLE.md
) were followedAvatar
, I verified the components usingAvatar
are working as expected)/** comment above it */
this
properly so there are no scoping issues (i.e. foronClick={this.submit}
the methodthis.submit
should be bound tothis
in the constructor)this
are necessary to be bound (i.e. avoidthis.submit = this.submit.bind(this);
ifthis.submit
is never passed to a component event handler likeonClick
)StyleUtils.getBackgroundAndBorderStyle(themeColors.componentBG
)Avatar
is modified, I verified thatAvatar
is working as expected in all cases)ScrollView
component to make it scrollable when more elements are added to the page.Screenshots/Videos
Web
DESKTOP.mov
Mobile Web - Chrome
ANDROID_CHROME.mov
Mobile Web - Safari
WEB_IOS.mp4
Desktop
MAC_DESKTOP.mov
iOS
IOS_APP.mov
Android
ANDROID_APP.mov