0
Z odpowiedzią

Intersection problem

Clint Sutton 11 lat temu Ostatnio zmodyfikowane przez Ezra Weinstein (Administrator) 11 lat temu 0
Hi guys,

I have an item on the page that I have a drag-move action on.  When your dragging the item across the screen I want it to have a move back to it's original position if it touches another object.  I tried using the intersections actions, but it wont work with a "move" action.  It works fine if I choos something like "hide" or "blink", but not move.  Is this possible to produce with intersections?

Clint

Odpowiedź

Odpowiedź
Z odpowiedzią
This will be fixed in version 3.4 however, if you want the item that they are dragging to move, it's not really possible because the MOVE/DRAG is essentially conflicting with the MOVE at the intersection.  I would use the DuplicateElement behavior to create a second copy of the element when the intersection occurs.  So you would duplicate the element and hide the original element.  That should be one way to handle it.
Z odpowiedzią
This bug will be fix in the next version of IB3.
Z odpowiedzią
This bug will be fix in the next version of IB3.
Z odpowiedzią
This will be fixed in version 3.4 however, if you want the item that they are dragging to move, it's not really possible because the MOVE/DRAG is essentially conflicting with the MOVE at the intersection.  So, I would possibly using the DUPLICATE behavior to create a second copy of the element when the intersection occurs.  So you would duplicate the element and hide the original element.  That should be one way to handle it.
Odpowiedź
Z odpowiedzią
This will be fixed in version 3.4 however, if you want the item that they are dragging to move, it's not really possible because the MOVE/DRAG is essentially conflicting with the MOVE at the intersection.  I would use the DuplicateElement behavior to create a second copy of the element when the intersection occurs.  So you would duplicate the element and hide the original element.  That should be one way to handle it.