[Cuis-dev] Bugfix - Drag & Drop
Juan Vuletich
juan at cuis.st
Mon Dec 23 10:22:59 PST 2024
Thanks Joel!
Your fix is now at GitHub. I also added you as a known contributor.
Cheers,
On 12/23/2024 11:50 AM, Joel Camera via Cuis-dev wrote:
> 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ámera
>
>
> Agile Software Development
>
>
> Alem 896, Floor 6, Buenos Aires, Argentina
>
> +54 9 011 6091 3125
>
--
Juan Vuletich
cuis.st
github.com/jvuletich
researchgate.net/profile/Juan-Vuletich
independent.academia.edu/JuanVuletich
patents.justia.com/inventor/juan-manuel-vuletich
linkedin.com/in/juan-vuletich-75611b3
twitter.com/JuanVuletich
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.cuis.st/mailman/archives/cuis-dev/attachments/20241223/598c6526/attachment.htm>
More information about the Cuis-dev
mailing list