Jump to content

Search In
  • More options...
Find results that contain...
Find results in...

.set(scale:###) not displaying accurately on IE 9 10 11

Go to solution Solved by GreenSock,

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

There are some banner ads I have created where the video does not scale properly on IE9+. There is a large black-space creep and the scale is not accurate. 
This is the scaling code. I don't quite know what other information I need to offer. Help please?

child.set(video, {y:0, transformOrigin:"center center", scale: 1.4})
     .to(video, 7, {y:0, x:-3, transformOrigin:"center center",  scale: 1})
Link to comment
Share on other sites

Welcome to the forums. Can you please provide a reduced test case in codepen or jsfiddle so that we can see the problem in context? It's just very difficult to troubleshoot with such a small snippet and no context. I'm not sure what you mean by "a large black-space creep and scale is not accurate". We'd love to help. 

To learn how to create a simple codepen, see http://greensock.com/forums/topic/9002-read-this-first-how-to-create-a-codepen-demo/

Link to comment
Share on other sites

  • Solution

I don't think this is related to GSAP. I'm pretty sure it's an issue in your CSS. For example, "object-fit: cover" is not supported in IE. And you've got a bunch of other CSS in there that's webkit-specific. 

  • Like 2
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.