Skip to content

Comment on GridList – Drag and drop library for a 2D resizable and responsive list of items

Comments

I don't see why the items should dance around when "zooming out"/adding more rows, if the available space and constraints are the same. Is there a gravity component to it?

http://cl.ly/image/1E0A0z2C0x0b -> http://cl.ly/image/102E232Z443j

Well we're trying to 1. occupy as much empty space as possible and then 2. preserve as much as possible of the horizontal order of items when resizing the grid

PS. We have some docs for these methods https://github.com/uberVU/grid#resizegridrows

AboutSource Built by g1lg1l

Hackerly is an independent reader for Hacker News, built on the public HN API. Not affiliated with Y Combinator.