Chrome 19 Breaks Overscroll #59

Closed
codezomb opened this Issue May 15, 2012 · 9 comments

Comments

Projects
None yet
4 participants

All other browsers currently work, but chrome 19 doesn't seem to be working. No errors showing the debug console unfortunately. Drag just doesn't work.

Owner

azoff commented May 15, 2012

Thanks! I'll take a look when I get a chance.

On Tue, May 15, 2012 at 2:13 PM, Mike Kelley <
reply@reply.github.com

wrote:

All other browsers currently work, but chrome 19 doesn't seem to be
working. No errors showing the debug console unfortunately. Drag just
doesn't work.


Reply to this email directly or view it on GitHub:
azoff#59

Looks like the issue is in the touchscroll method.

0m15 commented May 16, 2012

Scrollbars aren't working too.
http://www.azoffdesign.com/overscroll

Contributor

KingRial commented May 17, 2012

Confirmed.
Chrome 19 introduced the -webkit-overflow-scrolling in the worst way possible: you can scroll only using mouse wheel; no scrolling with mouse drag allowed -_-

For now I just added a new check: if it's mobile I let it use the touchscroll method; otherwise full overscroll.

0m15 commented May 17, 2012

But are you able to have it working?
I see standard scrollbars on Chrome 19. (also check the azoffdesign example).

@KingRial This is essentially what I did for the time being as well, was just disable the touchscroll method, and it worked fine.

0m15 commented May 17, 2012

Ok, got it to work back.
For who's interested, I made this change on line 715:

overscroll: overscroll, //compat.overflowScrolling ? touchscroll : overscroll,
Contributor

KingRial commented May 17, 2012

I just added a new test after line 62:
compat.overflowScrolling=(compat.overflowScrolling && compat.touchEvents?compat.overflowScrolling:false);

This way it enables HTML5 scrolling (if present) only on mobiles, otherwise it's full overscroll system.

Edit: typos and explanation

0m15 commented May 17, 2012

@KingRial That's great. Thanks.

azoff closed this in 2859c0a May 17, 2012

This was referenced May 17, 2012

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment