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

Bounce back has strange behavior on chrome 45 #978

Open
bertyhell opened this issue Oct 9, 2015 · 8 comments
Open

Bounce back has strange behavior on chrome 45 #978

bertyhell opened this issue Oct 9, 2015 · 8 comments

Comments

@bertyhell
Copy link

When doing a strang flicker movement with my mouse on chrome desktop, the bounce does a weird jump and then does the bounce animation.

I can also get this behavior in the demo:
http://lab.cubiq.org/iscroll5/demos/simple/

It's like it does the bounce animation from the wrong direction.

Video of this behavior:
http://www.youtube.com/watch?v=Tv_-IZ1xF7w

My code:

        scroller = new IScroll(element[0], {
          mouseWheel:            mouseWheel,
          scrollbars:            needsScrollbar ? 'custom' : false,
          scrollX:               horizontal,
          scrollY:               !horizontal,
          shrinkScrollbars:      'clip',
          interactiveScrollbars: true,
          eventPassthrough:      true,
          bounceEasing:          'back'
        });
@kaansoral
Copy link

The video would be more understandable if there were different images

But I get what you mean, with the pace of iScroll development, your best bet is probably to manually modify/improve the bounce routine

Is this on a low performance device by the way? (+ which OS?) - generally, low performance causes issues like these, where slowing due to low performance sometimes reflect as anomalies / speed bursts etc.

@bertyhell
Copy link
Author

It's a high powered device:
Desktop windows 10, i7 CPU.

I'll see if I can redo the video with higher framerate and different images

@kaansoral
Copy link

I experience the issue on http://lab.cubiq.org/iscroll5/demos/simple/ too - using OSX/Latest Chrome, there is a weird pause and then a bounce

I wonder if this: #973 could fix the issue

@kaansoral
Copy link

Here is a script with the above fix and more applied, so that you can use for testing: https://www.geobird.com/js/iscroll/iscroll-5.1.3.c18.js?v=5

@bertyhell
Copy link
Author

Yes that fixed it.
Hopefully that pull-request will make it in soon :D

@kaansoral
Copy link

Interesting to know, thanks for the info

Don't hold your breath for the PR, manually apply your fixes to iScroll :)

(iScroll seems to have major releases, so I'm guessing the PR wouldn't apply to the next release anyway)

@tehmaestro
Copy link

I tried the pull request but I get the same behavior ..

@glebmachine
Copy link
Collaborator

I think iScroll is not supporting since last year (latest commit)

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

4 participants