DioxusLabs / taffy

A high performance rust-powered UI layout library
https://docs.rs/taffy
Other
2.11k stars 107 forks source link

Support CSS Subgrid layout (`Display::Subgrid`) #468

Open nicoburns opened 1 year ago

nicoburns commented 1 year ago

What problem does this solve or what need does it fill?

Subgrid layout is useful when creating nested grids.

What solution would you like?

Implement support for Display::Subgrid in Taffy:

Additional context

Much like block layout, subgrid layout requires access to non-direct descendants of a node, so some design work will be required to create an API that allows for this.

jrmoulton commented 1 month ago

I'm really interested in having subgrid.

I'm definitely not qualified but I can work on this if no one else is.

Now that block layout has been merged, is there still design work that needs to be done?

@nicoburns