Jump to content
GreenSock

christie-g

Trigger area moves all draggable items

Recommended Posts

i can set up a trigger area and get it to work, but if there are more than one draggable elements on a page then moving one item using the trigger area move both items together,

 

things i have tried that have not worked

 

trigger area as class (div header)

only having one  div having a trigger property

setting two unique ids for trigger areas 

loading the div separately

 

 

any ideas of what else I could try??? 

 

 

Link to comment
Share on other sites

Hello christie-g, and Welcome to the GreenSock forum!

Do you have an example of what you have tried so we can see your code example in context?

Here is a video tut on how to create a codepen example.



This way we can test your code live on codepen to better help you!

Thanks! :)
  • 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.
×