google / flexbox-layout

Flexbox for Android
Apache License 2.0
18.24k stars 1.79k forks source link

Incorrect behaviour FlexboxLayout in HorizontalScrollView #542

Open spbisya opened 4 years ago

spbisya commented 4 years ago

Issues and steps to reproduce

This issue started only from version 2.0.1, earlier versions work correctly.

Expected behavior

Version 2.0.0

Screen Shot 2020-03-18 at 9 15 07 PM

Version 2.0.1

Screen Shot 2020-03-18 at 9 14 38 PM

So I want FlexboxLayout to be really wrap_content and scrollable in HorizontalScrollView

Version of the flexbox library

2.0.1

Link to code

Layout code - https://pastebin.com/ye59gGh1

bennysway commented 4 years ago

Yea, something definitely broke in 2.0.1 I have a before and after of it and v2.0.0 in a horizontal scrollview, no wrap, image image

I think flex box lost over-flow... and I hope its not a feature 😕

zyallday commented 3 years ago

To change layout_flexShrink may help.

spbisya commented 3 years ago

Any updates? Not working with 3.0.0 also

zyallday commented 3 years ago

Any updates? Not working with 3.0.0 also

Try layout_flexShrink

spbisya commented 3 years ago

Any updates? Not working with 3.0.0 also

Try layout_flexShrink

I've tried - no result ):