Jump to content
GreenSock

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

Selected item sticks to mouse after delete

Recommended Posts

Hello,

 

I have a trashcan in my application where the user can drag items to delete them. This revealed a bug in the TransformManager where if you have the mouse down when an item is removed the next item that is selected will stick to the mouse.

 

Here are the steps to reproduce:

1) Add two items to a TransformManager have allowDelete=true

2) Select one of the items and hold the mouse button down. With the mouse button down press delete to delete the item.

3) Click the other item. Notice the item now sticks to the mouse.

 

Notice these steps are slightly different than what I am doing but produce the same result. I am using FlexTransformManager 1.9663.

 

Do you have any suggestions of how to work around this issue? Thanks in advance.

Link to comment
Share on other sites

Thanks for pointing out that issue - it should be resolved in the latest version. Would you mind downloading it from your GreenSock account and letting us know if it works well for you? https://www.greensock.com/account/

Link to comment
Share on other sites

  • 4 weeks later...

Thank you, that fixed the problem for the steps I provided but I am still experiencing my original issue. I will post back once I can create a simple set of steps to reproduce it.

Link to comment
Share on other sites

On a tight schedule so I worked around this issue by creating a new TransformManager each time an item is selected and destroying it when an item is deleted via the trashcan. Ill try to post an update if I come back to this part of the code.

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