jaredLunde / masonic

🧱 High-performance masonry layouts for React
https://codesandbox.io/s/0oyxozv75v
MIT License
797 stars 49 forks source link

Gaps in the Grid #111

Open finnatsea opened 2 years ago

finnatsea commented 2 years ago

Describe the bug There are large gaps in the grid. To Reproduce Steps to reproduce the behavior:

  1. Create a grid of divs where their height is determined by the context of the div, and the "height" css property is unset.
  2. Create a masonry grid
  3. See gaps in the grid

Expected behavior A clean grid with no gaps.

Screenshots

Screen Shot 2022-03-09 at 6 52 43 PM

Desktop (please complete the following information):

jaredLunde commented 2 years ago

Haven't seen this. CodeSandbox is great for assisting in reproducing