Open ibrychgo opened 3 years ago
@ibrychgo All of those features are implemented in the kanban demo here AFAIK (7 included): https://muuri.dev/, you can peek the code here: https://github.com/haltu/muuri/tree/gh-pages. Hope that helps :)
You seriously ROCK!
None of the other kanban demos had that particular dragAutoScroll setting and, admittedly, it's an option I'm still trying to get my head around.
Simply swapping my dragAutoScroll settings for items with the one from the doc source did the trick.
This is DEFINITELY the library we are moving forward with. THANK YOU!
First, this is an AMAZING library. So much better than other drag-and-drop libraries than I've used in the past. Thank you to the entire community for creating and supporting Muuri!
I'm working on a kanban-like board and having a bit of trouble moving items to columns that are off screen.
The Requirements are:
I've based this on the Kanban examples mentioned here: https://codepen.io/niklasramo/pen/KKKYKWG
EVERYTHING is working EXCEPT for Number 7: When dragging items around, the board does not scroll left and right when the item is dragged to the edges.
This auto-scrolling works fine when dragging columns to the edges, but not for Items.
I can't figure out what I'm missing here. I kinda assumed this behavior would be baked into the library. I have a suspicion it has to do with dragSort or dragAutoScroll but I'm not sure what to provide those options other than the columnGrids and the window.
Any help or pointers would be appreciated! Thanks!
My HTML:
My Javascript:
My SCSS: