Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

horizontal scrolling not working in safari 6? #9

Closed
onedrop opened this Issue · 25 comments
@onedrop

Having an issue in safari 6 on os x mountain lion. For example, when trying to issue a scrollTo() command in a 2000/2000px html body, only the vertical component is scrolled. Is anyone else experiencing this? It works find in safari 5, ie9, firefox and chrome.

$.scrollTo({left:1000, top:1000}, 1000);

@flesler
Owner

Haven't heard of this, I'll try to test this on Safari 6 asap (gotta get it first) got a link to your site?

@Moinax

I confirm that there is a bug with Safari Version 6.0 (8536.25)

It seems to work on Safari Version 6.0 (7536.25)

I think we should blame Apple on this one

@flesler
Owner
@kontur

Reporting the same problem, but I don't have Mountain Lion and thus Safari 6 myself, so hard to test what's going on. The browser also fails to scroll to the correct vertical position, when the call is made via a selector (i.e. $.scrollTo($('#some'))), if that element is off screen.

@flesler
Owner

@johannesneumeier got a site online to test this?

@kontur

Only a client project with a safari 6 work around in place. If I find the time I strip the content and upload it for reviewing, but can't promise I get around to it. Basically a page with 500% width and floated 100% width divs, stacked in several rows. Scrolling to any but the first element in each row would fail to scroll horizontally, but finds the right height ok.

@kontur

The following example page scrolls sideways to the 5th box of the top row on load.
In Safari version 8536.25 the page scrolls down a little (vertical scrolling ok), but fails to scroll to the right (horizontal scrolling fail).

http://serveri.magis.com/johannes/scrollto-safari6-bug/
(Edit: Sorry, link no longer available)

Hope this helps to pin down what's the problem. Version 1.4.3.1 of scrollTo and 1.8.1 of jQuery used.

@zehfernandes

nothing about this bug?

@flesler
Owner

Works for me on 6.0 (7536.25) Mac. I'll try updating it right now.

@zehfernandes

I'm test on safari 6.0 Ipad.
Works when used just vertical scrolling when add horizontal broken

If helps the demo: http://zehfernandes.com/jquery.fullContent/#home

@hilko

I'm having the exact same issue, but with Google Chrome Canary (so possibly a near-future Chrome issue!)

@Franz-Kafka

I have exactly the same problem. Is there a fix for that?

@hongaar

Posted a workaround on Stack Overflow, but I don't consider this well-tested enough to prepare a pull request. The post is here: http://stackoverflow.com/questions/13296144/set-scrollleft-scrolltop-simultaneously-does-not-work-in-safari-6, a patched jquery.scrollTo.js here: http://nabble.nl/demo/safari6scrollto/scrollto.js.

@flesler
Owner

Ok thanks, as you said, that surely needs polishing. I'll keep this in my TODO list, will let you know if I can get this in.

@959designs

Not working in Safari Version 6.0.1 (8536.26.14) or Mobile Safari

@spilliton

Also having this issue. The patched one from @hongaar appears to fix it.

@959designs

Yeah I used his fix as well and it solved all of my problems. His fix could use some work though so maybe if I get some time I can work on it as well, but honestly at this point there really is no reason for it not to warrant a pull. It definitely works

@klihelp

Any update on this?

@flesler
Owner

I tried with my version of Safari and worked, don't quite have the time to rollback my Safari, reproduce and roll a hack and re-test it on the rest too see none broke. If you can contribute code it will speed up the process.

@zehfernandes zehfernandes referenced this issue in zehfernandes/jquery.fullContent
Closed

My pages Float Around the Map #7

@damjaneiro

Any progress?

@Franz-Kafka

any news?

@flesler flesler was assigned
@flesler
Owner

Hi,

On #101 we're testing a new beta version (currently 1.5.2-beta) that fixes scrolling in Chrome 40 (was working on most ends but not all), also works correctly on iOS and Android which wasn't previously working. I tested this version with my Safari 8.0 and it works.

I'd like you to join us on that other issue and run the tests on your available browsers (including Safari 6), I won't be releasing this until it gets enough confirmation from users.

Thank you

@klihelp

The new version looks good

@flesler
Owner

You tested it on Safari 6?

@flesler
Owner

I merged 2.0.0 to master via #109 and this issue might get fixed (indirectly).
If the problem persists please reopen the issue with details on the situation.
If you have any issue after the update, first check this link, If your problem is not solved then go ahead and report the issue.

@flesler flesler closed this
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.