Niklas Rämö
Niklas Rämö
Interesting problem and not so trivial to make happen indeed. My gut says the best to do this would be building a custom `dragSortPredicate` and piggyback on the default `dragSortPredicate`...
@bernhardberger I think you could make it a bit cleaner by doing the `move` event's logic within `dragSortPredicate`, but what you've got working there is fully fine IMHO. I noticed...
@Virtual-Machine thanks for the feedback! This isn't the first time that's requested, so maybe I'll look into that ;) My gut says this kind of feature should be handled via...
@douwevdijk dragging outside the viewport? Hmm.. do you mean this: https://github.com/haltu/muuri/issues/9?
@douwevdijk Indeed. That's been way too long in the todo list. I'll do my best to land that feature asap ;)
@jagipas Yep, dynamic options have crossed my mind, but they're quite a pain to set up. As for your problem with toggling dragging off and on, that is totally doable...
@MartinKrmer Muuri does not position the container elements, so you can position them as you wish with CSS. However, if you have nested Muuri instances and a grid container is...
@dev-zetta yep, that has crossed my mind, but it's very tricky. Some options can be mutated on the fly, but others can't. Been waiting to face a real-world issue before...
@bernhardberger Hmmm 🤔 I don't think an event before the `move` event would be _that_ useful since there's only one operation really that's happening there, which is sorting the the...
I'm still struggling a bit to understand what you are trying to accomplish (maybe a small live demo would help?), but as I said it's pretty trivial to hook into...