Open nevf opened 6 years ago
hey @nevf You can dispose and recreate it with the new set of options.
@kutlugsahin true, however if there are hundreds of elements (which in my app there is) then unwrapping and rewrapping etc. is quite a waste of time and resources, when all that is needed is to change the options.
All the more so on low powered devices like smartphones where responsive changes are more prevalent.
@nevf. This is true indeed in terms of performance. Lets put this in todo list. Cheers!
@kutlugsahin +1 Thanks.
@nevf did you find an easy way to do this ?
@xe4me No I didn't. From memory this is an issue which can only be addressed by SmoothDnD which unfortunately seems to be abandoned. I've since written my own drag and drop module which I plan to use in future.
In a responsive Web app you may want to change the SmoothDND
options
on the fly to suite landscape vs portrait etc. Could you please add a function to do this - thanks.