Fork me on GitHub
#humbleui
<
2022-12-05
>
jlmr11:12:31

nevermind, got it working by creating my own version of draggable and Draggable

Niki16:12:10

Is it compatible? Do you want to contribute it to Humble UI? I think it could be a nice addition

jlmr17:12:17

I was a bit overconfident, because my version seems to have a weird heisen-bug in it. I added some callbacks (`on-dragging` and on-drop ) that work fine when using most functions as the passed in callback. However, when passing a callback function that uses swap!, sometimes the drag-and-drop doesn’t work anymore. Haven’t been able to fix it yet so far…

jlmr17:12:27

If I get it fixed I’ll let you know

jlmr17:12:48

I’ve made a PR: https://github.com/HumbleUI/HumbleUI/pull/54. This is one of my first PR’s to a public project like this, so let me know if I should change something.

Niki20:12:51

Thanks, I’ll take a look!