SortableJS x ReteJS - Chrome drag only works in fallback mode - Firefox OK #2232
Unanswered
ArthurHoaro
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi there!
I'm using ReteJS library with Angular to build some kind of flow. In this flow, I have nodes which can contain multiple element, and I would like these elements to be sortable.
I'm trying to use SortableJS to do so, except that I have noticed that it does not work on Chrome (current version 107) while it works properly on Firefox.
Looking at available events, we can see that the
onChoose/unChoose
events are triggered on Chrome, butonMove
andonStart
are not. Funny thing, it works in mobile mode (responsive view with device toolbar), probably because the touch event is different from the click.It also works if I set
forceFallback
totrue
, but I feel like that might not be the best solution.I have made a minimal reproducible project case (sorry I couldn't make it on Stackblitz, npm requires
--legacy-peer-deps
flag):https://github.com/ArthurHoaro/rete-sortable-bug-minimal-reproduction
Also, screencasts for a quick view without installing the project:
I'm kind of out of idea, so any hint or suggestion would be appreciated.
Beta Was this translation helpful? Give feedback.
All reactions