Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Masonic inside scroll div container #110

Open
franmastromarino opened this issue Mar 1, 2022 · 0 comments
Open

Masonic inside scroll div container #110

franmastromarino opened this issue Mar 1, 2022 · 0 comments

Comments

@franmastromarino
Copy link

franmastromarino commented Mar 1, 2022

hello mate

thanks for this amazing component

looks like the useMasonry hook is not working correctly without images inside a scroll div container

i set overscanBy = 1, the visible items in the first load is incorrectly
https://codesandbox.io/s/masonic-inside-of-a-scrollable-div-example-forked-5cypjl

it works on the first load, but if you make any change in the code, you will see this result

https://snipboard.io/2xal3d.jpg)

  • OS: Windows 11
  • Browser: Brave
  • Version: 11.35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant