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
FlowRow affects Modifier.height(IntrinsicSize) #622
Comments
This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 5 days. |
Waiting for #650 to be merged |
Facing a similar issue where FlowRow is somehow adding extra height to the layout. |
This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 5 days. |
Remove the stale label please, this forced us to create our own flowlayout. |
@C5FR7Q Any way you could re-open the issue? The PR that was supposed to fix it seems abandoned |
Waiting for #650 to be merged or any other fix |
@bentrengrove |
We are currently working on an official version of Flow Layouts in Compose as seen on the Compose roadmap, as such I don't think we will get to fixing this bug in Accompanist. Flow Layouts in Accompanist will soon be deprecated with the release of Flow Layouts in Compose main. |
Describe the bug
FlowRow
somehow affectsModifier.height(IntrinsicSize.Max)
, that's so resulting height is wrongTo Reproduce
Steps to reproduce the behavior:
Use
LazyColumn
the items of which are some containers withModifier.height(IntrinsicSize.Max)
and includingFlowRow
with different items count.Example:
Expected behavior
(In accordance with example code) Resulting height of
Item
is equal to the height ofFlowRow
Actual behavior
Item
's height somehow depends onFlowRow
items count.Environment:
The text was updated successfully, but these errors were encountered: