Daniele Segato
05/04/2022, 9:25 AMLazyRow
and stickyHeader
.
1. If the header is vertically higher than the content the LazyRow
change height when the sticky header item would scroll out of view.
2. if the LazyRow
has contentPadding
this is ignored for the stickyHeader
, I would expect the sticky header to snap in a position that respect content paddding.
are these 2 issues know? should I open 2 but reports?
I assume these 2 issues translates equally with LazyColumn
sindrenm
05/04/2022, 11:24 AMDaniele Segato
05/04/2022, 11:33 AMsindrenm
05/04/2022, 11:39 AMLazyRow(Modifier.height(IntrinsicSize.Min))
and have all it's children be the same height as the tallest item would be very cool. Although I see issues with this now wrt. when measurement happens. 👍
Nr. 2 would also perhaps be nice to control. For now, at least, adding padding manually works, but maybe have it be part of the DSL could be a possibility, too. 👍Daniele Segato
05/04/2022, 12:06 PMstickyHeader
funChris Sinco [G]
05/05/2022, 12:02 AMAndrey Kulikov
05/05/2022, 12:10 PMDaniele Segato
05/05/2022, 1:23 PMAndrey Kulikov
05/05/2022, 1:26 PM