Niklas Rämö
Niklas Rämö
Please provide an easily debuggable live example, e.g. in https://codepen.io/ or https://codesandbox.io/, so it would be easier for people to help you out :)
Yep, that's a hard nut to crack in general and I'd say there's only two approaches that work nicely without confusing the user. 1. Having a dedicated drag handle. In...
Thanks for the ideas and feedback @seanstrom 💡 👍 In my private branch I did put the optimization behind a grid option and gladly it is not that much added...
> render an empty block with the same dimensions as the real item and then switch back to the normal rendered version when in view 🤔 hmmm.. I believe we...
@wanghan-js that's actually something that Muuri does not handle out of the box, but thinking about it I guess you could hack it together (not so elegantly) with custom layout...
Yep, the dragged external element will not trigger any events and will not have any other benefits of a grid item, but as I mentioned it's a not so elegant...
Hi @MarleenAndela! Yep it's possible. The kanban demo on the Muuri website has a grid inside a grid. You can see the source code for that here: https://codepen.io/niklasramo/pen/ppeMbK
Well there's nothing technically stopping you from adding as many layers as you wish. There's no built-in support to set the grid up with JSON though.
I'll try to add a demo of this to muuri's codepen collection: https://codepen.io/collection/AWopag/... when I have some extra time on my hands
@TheAussieStew Unfortunately no, there's no live example of this yet :( But yep, _in theory_ this should be very much doable. The main reason that drag and drop is working...