Skip to content

Sometimes dragging "loses" the object #28

Description

@uliska

We still have the problem that sometimes one can "lose" the dragged object. By now I'm convinced this has to be dealt with in the leave (i.e. onmouseout) signal.

I think what happens is:

  • somehow the onmouseout event is triggered (maybe mouse moves faster than the dragging is processed, or onmousemove is triggered at a moment when the mouse is already out of the object's area).
  • The draggedObject still exists, confusing the onmousemove entry check.
  • mouse can move around freely, while the object "hangs around").
  • when the mouse touches the object again, dragging is continued, even when the mouse has already been released.

As this problem hasn't got worse since the last pull request I think we can postpone this issue until after the pull request. Actually I think our position to solve the issue is much better now than it had been previously because the code is much more structured now.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions