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

Reordering when resizing masonry child #133

Open
dusanstojanovic opened this issue Jul 11, 2018 · 1 comment
Open

Reordering when resizing masonry child #133

dusanstojanovic opened this issue Jul 11, 2018 · 1 comment

Comments

@dusanstojanovic
Copy link

I have a problem with this situation:

waaaait

Any ideas how to accomplish this? I need to reorder all the elements every time textarea grows (I'm using material-ui.com)

@afram
Copy link
Collaborator

afram commented Jul 11, 2018

Hi @dusanstojanovic

You will probably want to access the masonry object and call layout yourself in this instance.
https://masonry.desandro.com/methods.html#layout-masonry

Here's an example
https://codesandbox.io/s/v3y4o3nx70

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

2 participants