Jump to content
GreenSock

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

Is force3d deprecated

Recommended Posts

Hello Everyone,

 

Is force3d:true deprecated.. i dont see it in the CSSPlugin docs either anymore, unless I'm mistaken and it was never there to begin with:

 

http://api.greensock.com/js/com/greensock/plugins/CSSPlugin.html

 

I was doing some simple animation tests and noticed that i keep getting this error regarding force3d:true in the console

invalid force3d tween value: true
http://cdnjs.cloudflare.com/ajax/libs/gsap/1.11.0/TweenMax.min.js Line 15

i made a simple code pen so you can see the error thrown in the console:

 

See the Pen Hcvuq by jonathan (@jonathan) on CodePen

 

I have used force3d:true before but was wondering if it was recently deprecated or am i missing something here? I even saw it using version 1.10.3

 

I am using the force3d:true even inside the css{} object and still seeing the message above  in the console

 

Any help as always will be highly appreciated..

 

Thanks :)

Link to post
Share on other sites

thanks jack .. but my codepen is using force3d lowercase and you can see that message in the console,  .. :P .. and i also see this on my production code :(

 

See the Pen Hcvuq by jonathan (@jonathan) on CodePen

 

i am seeing this in:

  • Firefox 24
  • Chrome 30.0.1599.101 m
  • IE10

is it ok to ignore this message

Link to post
Share on other sites

That's the problem - you're using lowercase for the "d" when it is supposed to be uppercase, "D". 

 

BAD: force3d:true

GOOD: force3D:true

  • Like 1
Link to post
Share on other sites

ohh.. my bad im sorry lowercase BAD .. uppercase GOOD

 

dont know how i missed that.. damn my eyes ... THANK YOU JACK :D

Link to post
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.

×