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

Do not let 0-size Dynamic element overlay others #26

Closed
tomalec opened this issue Nov 26, 2015 · 0 comments
Closed

Do not let 0-size Dynamic element overlay others #26

tomalec opened this issue Nov 26, 2015 · 0 comments
Assignees

Comments

@tomalec
Copy link
Member

tomalec commented Nov 26, 2015

Currently 0 size elements, are being packed to 0,0 (as that's the first spot where they fit), so they are being placed in the same row/col as the first visible element.

The problem starts for dynamic 0-size elements.
Even if the element itself, is still 0 size, its juicy-tile in shadow DOM occupies entire grid cell, therefore it overlays other elements in this cell.

The size of a shadow juicy-tile, should be min-content so it will remain 0-size and do not overlay other items.
Then even if the element will grow, the dimension of the overlay will be equal to element's size.
Related issue: #18

@tomalec tomalec self-assigned this Nov 26, 2015
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