Jump to content
Search Community

Selected item sticks to mouse after delete

avidcoder test
Moderator Tag

Recommended Posts



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

  • 4 weeks later...

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.
  • Create New...