Jump to content
Search Community

Draggable 1.13.2 TypeError

TurboBrad 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

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

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