-
-
Notifications
You must be signed in to change notification settings - Fork 1.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
[FIX] web_responsive: Chrome slow scroll #742
[FIX] web_responsive: Chrome slow scroll #742
Conversation
Scrolling works now with Android/Chrome |
a23fac8
to
52282f7
Compare
Alright I've applied the same fix without editing the iScroll library, and added a note to the readme to remove the patch once iScroll is updated (this is fixed upstream, but there isn't a new release yet) |
So I tried this fix but I faced this error, whenever I open the app drawer and close it in the web version:
I don't think it is from this fix but maybe I did something wrong or inundated library? P.S. and the fix didn't work on my phone! |
I receive this error when clicking on the icon for showing the drawer, and the clicking outside the drawer (on Firefox on my PC):
|
a8f19a8 should fix the issue - my bad I forgot casing |
I have tested and now there's no error and scroll in PCs works correctly, but trying on my Android mobile with Chrome, I still need to make funny moves for scrolling: there's no possibility to tap and hold the finger for scrolling. Can you please check it? |
I stole my girlfriend's Android for the day - should be able to fix this now |
Alright this last change was working pretty solid for me yesterday and looks good on Runbot now. Someone want to confirm? Fix was to upgrade iScroll to the bleeding edge revision, which contains the proper change. It was created 10 months ago and there have been no changes, so I figure it's got to be stable enough. |
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.
Tried and working. There's still a strange effect on the header bar with the logo and the "< Apps" link, but I think it's not related with this issue.
Yeah, definitively |
I can't replicate the header issue with the last commit |
// 2 == always executes the scroll event except during momentum and bounce. | ||
this.iScroll.options.probeType = 2; | ||
// 1 == The scroll event is fired only when the scroller is not busy doing its stuff. | ||
this.iScroll.options.probeType = 1; |
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.
This was actually the fix to the header issue - the transform thing above I realized marginTop
was more clear & basically the same.
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.
Hmmm maybe the marginTop isn't the same, I'm reverting that.
Now it's working worst IMO |
29a8f6b
to
bbc7c1d
Compare
Damn ok I removed the commits from after you mentioned the other header issue & created #756 |
OK, merging this then. @angelmoya please take this for v11 |
Should I squash? |
* Update to iScoll bleeding edge to fix OCA#741
bbc7c1d
to
f52d2ab
Compare
I went ahead and did it so my GPG is preserved. I'd say we're good for a merge on CI 🍏 |
[9.0][FIX] web_responsive: Chrome Slow Scrolling
[11.0][FIX] web_responsive: Chrome Slow Scrolling
Test fix. Do not merge until I give the go-ahead please.
#741
cubiq/iscroll#1100