You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When a user drags his mouse to resize the browser window, packery waits for the user to stop dragging before triggering a re-layout based on the new window width. This can lead to ugly layouts while the user is in mid-drag.
Is there any way to constantly trigger a re-layout while the window is being resized?
The text was updated successfully, but these errors were encountered:
Hi there! Thanks for this feature request. Rather than constantly triggering layout, I think a better solution would be to position items with percent values (as opposed to pixels). This has been requested for Masonry desandro/masonry#574
This adds a new option, percentPosition: true. It sets position of the column in percentage. To use the code, add the Outlayer.Item.prototype.layoutPosition code.
If others would like to see this feature merged into production, please +1
desandro
changed the title
Re-layout while window is being resized
Position items with percent values. Nicer when resizing
Jan 18, 2015
When a user drags his mouse to resize the browser window, packery waits for the user to stop dragging before triggering a re-layout based on the new window width. This can lead to ugly layouts while the user is in mid-drag.
Is there any way to constantly trigger a re-layout while the window is being resized?
The text was updated successfully, but these errors were encountered: