Skip to content
This repository has been archived by the owner on Mar 27, 2019. It is now read-only.

Chrome 44 Issues #943

Closed
tehmaestro opened this issue Jul 24, 2015 · 4 comments
Closed

Chrome 44 Issues #943

tehmaestro opened this issue Jul 24, 2015 · 4 comments

Comments

@tehmaestro
Copy link

Hey. So it seems there are some issues with the latest Chrome, 44, on desktop. There's a weird effect when scrolling with iScroll. Anybody else having these issues?

@sculove
Copy link
Collaborator

sculove commented Aug 4, 2015

The cause of this issue is BadAndroid conditional code.
iScroll determines the latest chrome(44) is bad android.

According to issue #760, #441, transitionDuration property is set to 0.001s in BadAndroid device.
Therefore, Slow sliding occurs on the latest Chrome or Android browsers

I propose workaround.

  1. set useTransition to 'false'
    • if useTransition is false, iScroll use requestAnimationFrame to perform animations.
  2. download following pull request
    Remove unnecessary function call #949
    • a transtionDuration is set to 0.001 in _transitionTime method when 'useTransition' option is 'false'
    • this PR is to avoid setting a transitionDuration property

@tehmaestro
Copy link
Author

Thanks. Will test this tomorrow.

Edit: The fix was to set useTransition to false

@tehmaestro
Copy link
Author

The problem is not fixed. useTransition set to false decreases performance significantly and it is not a solution.
I tried applying the changes from the commit, but there was no difference.

@sculove
Copy link
Collaborator

sculove commented Sep 7, 2015

That's right. this solution is workaround.
BadAndroid conditional code is problem.

sculove added a commit that referenced this issue Mar 23, 2016
- fix detect code for 'isBadAndroid'
- fix workaround code

ref #760, #441, #943, #927, #780
@sculove sculove closed this as completed Mar 23, 2016
aisouard pushed a commit to Mappy/iscroll that referenced this issue Feb 22, 2017
- fix detect code for 'isBadAndroid'
- fix workaround code

ref cubiq#760, cubiq#441, cubiq#943, cubiq#927, cubiq#780
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants