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
[css-grid-3][masonry] Drop next
value of masonry-auto-flow
#10232
Comments
I disagree, as I explained in #9988.
Please explain these problems. Sure, items close in document order can appear far away. But this can already happen with
I disagree. Also note that
And it's requested by authors: #10233 (comment) |
I don't understand your objection. masonry-threshold will get you the behavior of 'next' except in cases where the "change in size" isn't actually "small". It basically lets you choose the size at which the change in size it's no longer considered a "small". (If you set it to infinity, it gets you exactly the behavior of The problem with 'next' is that if you have a wide variation in sizes, e.g. some items 3x as tall as others, you will get the items stacking in very uncomfortable ways to follow sequentially. |
Consider a threshold of 10px. If we have three columns filled with
That doesn't seem to follow from the definition in #9328: "among all the columns within slack distance of the shortest column, place in the startmost" The 1st column will always be within an infinity distance from the shortest column, so all items will go into the 1st column. I guess the logic could be modified to:
I think that would really be the |
This value seems to cause problems with accessibility except in cases where the sizes of items are very close; and those cases are probably better handled by the masonry-threshold idea (see #9328 ).
The text was updated successfully, but these errors were encountered: