Dario Ahdoot
10/10/2023, 7:32 PMDario Ahdoot
10/10/2023, 7:43 PMdewildte
10/10/2023, 8:43 PMascii
10/11/2023, 3:22 AMscrollBehavior
to the TopAppBar, and where are applying Modifier.nestedScroll(scrollBehavior)
? I think either Scaffold or LazyColumn would work, but former would be better.ascii
10/11/2023, 3:24 AMDario Ahdoot
10/11/2023, 12:59 PMScaffold's
Content block, not it's TopAppBar. I'm not talking about touching down on the TopAppBar
, but the behavior being different depending on which section of content you touch down on. If you touch down anywhere in the outer, top level, LazyColumn
, the scrolling behavior is different than if you touch down on the LazyGrid/Column
contained inside the HorizontalPager
.
I'm not adding scrollBehavior
or nestedScroll
anywhere. The way I was able to silence the "Vertically scrollable component was measured with an infinity maximum height constraints, which is disallowed" barrier was by adding fillParentMaxHeight
to the HorizontalPager
.
Where are you suggesting that I should be applying the nestedScroll behavior?Dario Ahdoot
11/20/2023, 5:22 PMDario Ahdoot
11/20/2023, 5:24 PMscrollBehavior
to the TopAppBar, and where are applying Modifier.nestedScroll(scrollBehavior)
? I think either Scaffold or LazyColumn would work, but former would be better.
The TopAppBar has no scroll modifier applied to it. Nothing has any nestedScroll
applied to it. No scrolling related modifiers are passed to any components. The Header is not part of the TopAppBar. It sits in the content part of the scaffold, not in the TopAppBar. This issue exists if you start scrolling on the Header and don't engage with the TopAppBar at all