Jump to content
GreenSock

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

Draggable 1.13.2 TypeError

Recommended Posts

Hello all!

 

I've been using GSAP for a little over a week now and I'm loving it. Thank you for the awsome work you're doing.

 

I upgraded from GSAP 1.13.1 to 1.13.2 this morning and began receiving the following TypeError from Firefox.

 

TypeError: s is undefined - Draggable.js:141

 

I found that the "trigger" property was no longer accepting the selector string that I been using which is "#plat". Everything works great when I pass in the element or a jQuery object though so I'm just passing in the element now. I just wanted to post this incase someone receives the same error.

 

Thanks again for GSAP!

Link to comment
Share on other sites

Hi and welcome to the GreenSock forums.

 

Yep, it seems that there's an issue with the selector part of GSAP and the trigger property of Draggable. I'll pass this to our honourable sensei.

 

Sorry for the inconvenience and please stand by.

 

Rodrigo.

  • Like 1
Link to comment
Share on other sites

Hi TurboBrad and welcome to the GreenSock forums.

 

Sorry your first post here had to be about a problem on our end.

As you and Rodrigo have discovered, yes, there is a problem with using a selector string as the trigger. 

 

I'm attaching a pre-release version of Draggable that should have this fixed.

 

Thanks again for letting us know, and sorry for the hassle.

 

Best,

Carl

 

Draggable.js.zip

  • Like 2
Link to comment
Share on other sites

Thanks for the fix Carl! That was quick. There was really no hassle on my end.

 

Thanks to Rodrigo also for passing this along.

 

Take care,

Brad

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.
×