Conversation
@gigablah this is very exciting! Can't wait to take a more in-depth look this week. Kudos for taking the initiative to take the brave task onto yourself (the one that we shamefully underestimated :p) First impression from the demo: I think the pullToLeft logic should also adapt to something like pullToTop in vertical mode. A few collision bugs: https://www.dropbox.com/s/vl026hfdl21fmu4/vertical-grid.mov |
+1 |
+1 here |
👍 |
@gigablah If I can be of assistance here, let me know. I'm very anxious to get off of gridster, and this is the main hangup. |
+1 |
1 similar comment
+1 |
Hi! Thank you very much. I'd like to implement pull to top-left in order to prevent empty slots. |
Any news, any updates about this ? It would be great to use it without collisions ! 👍 |
Why this PR didn't get merged? |
The solution was incomplete and it had some bugs. But we'll be working on vertical support internally as well, and I expect us to release an update in the coming weeks. |
Hi all, Sorry for the inactivity -- I've since abandoned the branch since I've moved on to a different framework-specific solution. Glad to know that this is being worked on internally. I'll close this PR then. |
So I took a stab at implementing vertical orientation... not as simple as suggested :)
The code looks rather ugly at the moment and I'm sure lots of refactoring is needed, but I'd like to run it by you first to see if I'm on the right track.
Vertical grids are created by specifying
cols
instead ofrows
, e.g.Demo page is here: http://gigablah.github.io/grid/index-vertical.html