[Cuis-dev] Bugfix - Drag & Drop
Joel Camera
joel.camera at 10pines.com
Mon Dec 23 06:50:30 PST 2024
Hello everyone!
Here I bring a ChangeSet with a bugfix.
The bug: when someone wants to drag a method and drop it in the category
list, because they want it to change its category, but to a new category
that is not in the list, the drop does not work.
In this link you can see the bug: https://giphy.com/gifs/aPTvvfUTaqlj0kNzMQ
The problem is that the list category morph needs to accept the morph that
is being dropped before the drop itself. And, because the acceptance is not
complete (needs a new category or choose one of the list) is needed to
cancel the drag (clicking everywhere) and complete the acceptance.
The solution is simple, just change the order of the events: first drop the
element (because you drop it) and then run the acceptance method. With this
change, it works like it should.
In this link you can see the same feature with the fix:
https://giphy.com/gifs/GXm5QcwxEp3iIx98z7
Have a good day!
<https://10pines.com/>Joel CámeraAgile Software Development
Alem 896, Floor 6, Buenos Aires, Argentina
+54 9 011 6091 3125
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.cuis.st/mailman/archives/cuis-dev/attachments/20241223/f3efdace/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 6945-CuisCore-JoelEstebanCamera-2024Dec23-09h53m-JEC.001.cs.st
Type: application/octet-stream
Size: 477 bytes
Desc: not available
URL: <http://lists.cuis.st/mailman/archives/cuis-dev/attachments/20241223/f3efdace/attachment.obj>
More information about the Cuis-dev
mailing list