Side navigation
#12659 closed bug (cantfix)
Opened October 05, 2012 08:53AM UTC
Closed October 15, 2012 03:40PM UTC
scrollLeft() doesn't work in Android browser
Reported by: | dr.lofstrand@gmail.com | Owned by: | dr.lofstrand@gmail.com |
---|---|---|---|
Priority: | low | Milestone: | None |
Component: | offset | Version: | 1.8.2 |
Keywords: | Cc: | ||
Blocked by: | Blocking: |
Description
scrollLeft() doesn't scroll in Android.
You can get the value and it actually updates if you change it, but the element it self doesn't scroll.
I even tried your example-page in the api section and the result is the same.
It works in IE, Chrome, FF, iPhone and iPad but not in Android.
I've tried it on SGS2 and SGS3 (default browsers).
jQuery versions I've tried: 1.7.0, 1.7.1 and 1.8.2
Attachments (0)
Change History (7)
Changed October 05, 2012 01:16PM UTC by comment:1
owner: | → dr.lofstrand@gmail.com |
---|---|
status: | new → pending |
Changed October 08, 2012 12:09PM UTC by comment:2
status: | pending → new |
---|
Changed October 11, 2012 06:46AM UTC by comment:3
Hey there, I had the same Issue. Got it solved by removing this from my code:
document.addEventListener('touchmove', function(e){ e.preventDefault(); });
Maybe it helps you, too.
Changed October 11, 2012 03:42PM UTC by comment:4
I can confirm this with Android 4.0.4. It exactly behaves like OP described.
Changed October 11, 2012 03:47PM UTC by comment:5
Replying to [comment:3 anonymous]:
Hey there, I had the same Issue. Got it solved by removing this from my code:> document.addEventListener('touchmove', function(e){ e.preventDefault(); }); >Maybe it helps you, too.
Removing this and any other touch-event-related code doesn't help.
Changed October 11, 2012 04:24PM UTC by comment:6
The pure Javascript property scrollLeft behaves like that too on Android 4.0.4
Changed October 15, 2012 03:40PM UTC by comment:7
component: | unfiled → offset |
---|---|
priority: | undecided → low |
resolution: | → cantfix |
status: | new → closed |
We can't fix this, but we've reported it up to Android: http://code.google.com/p/android/issues/detail?id=38505&thanks=38505&ts=1350315570
Please provide a test case in jsfiddle.net.