Jump to content
Search Community

Weird wiggle in iOS safari

martis test
Moderator Tag

Warning: Please note

This thread was started before GSAP 3 was released. Some information, especially the syntax, may be out of date for GSAP 3. Please see the GSAP 3 migration guide and release notes for more information about how to update the code to GSAP 3's syntax. 

Recommended Posts

I got the latest codebase and was looking at my site on ipad.

 

http://www.thegeminisociety.com

 

I notice that when the "OF" animates on it wiggles.

 

Any suggestions?

 

Here is my code

 

JS

function animateAboutUs() {
  TweenMax.staggerFrom([$sons, $of, $zeus], 1, {css: {width:"0"}, ease:Quad.easeOut, delay:1}, .5)
  TweenMax.set([$sons, $of, $zeus], {css: {autoAlpha:1}});
  TweenMax.to($introCopy, 1, {css:{opacity:1}, ease:Quad.easeOut, delay:3});

 }

 

CSS

#of {
background-image: url('../img/logo-of.jpg');
width: 400px;
height: 204px;
opacity: 0;
filter:alpha(opacity=0); /* For IE8 and earlier */
}

 

 

UPDATE: I changed the width of the div from 400 to 600 and it seemed to help it a bit.

 

I wonder if it has anything to do with the WebkitPerspective or WebkitBackfaceVisibility fixes

Link to comment
Share on other sites

I can't see any "wiggle" at all on iOS. I refreshed several times. Looks fine. There is no WebkitPerspective stuff in there (unless you added it) and I don't know how/why WebkitBackfaceVisibility would cause "wiggle".

 

Is anyone else able to see the wiggle? [scratching head]

Link to comment
Share on other sites

I don't have one of those, but I'm pretty confident there's nothing we can do about it. As you've seen iOS Safari has proven to be unbelievably buggy and we have implemented the best workarounds known, but if you come across anything that improves things, I'm all ears.

Link to comment
Share on other sites

Thanks for posting this.

 

I actually moved away from tweening the WIDTH of the div and put a div OVER the background image with a white background and am scaling the scaleX of that white cover to achieve the same effect. No wiggle anymore! I don't think iOS liked changing the width of a div, with a background image, at a zoomed out viewport :D

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...