Fixed
Status Update
Comments
co...@google.com <co...@google.com>
am...@gmail.com <am...@gmail.com> #2
Same bug here.
I have a LazyVerticalGrid composable with around 100 elements (2 columns) and the scroll is already very laggy. With a SmallAppBar and a scrollbehavior, it is now very very laggy.
I have a LazyVerticalGrid composable with around 100 elements (2 columns) and the scroll is already very laggy. With a SmallAppBar and a scrollbehavior, it is now very very laggy.
le...@google.com <le...@google.com>
le...@google.com <le...@google.com>
le...@google.com <le...@google.com>
na...@google.com <na...@google.com> #3
Is this a LazyColumn
/LazyVerticalGrid
performance issue?
We've ported the behavior to material
(not material3
) and whenever LazyColumn
's size and position were being adjusted during a scroll, the scrolling was laggy.
We've also tried to make LazyColumn
fill the whole screen and adjust its contentPadding
instead, but we got the same result. The scrolling was laggy while contentPadding
was being adjusted.
Once the bar is collapsed, the performance seems okay again.
We use ExitUntilCollapsedScrollBehavior
.
Description
Jetpack Compose M3 Adaptive Navigation Suite: 1.0.0-alpha05 Kotlin version: 1.9.22
Currently, to hide the navigation bar/rail, we have to either:
layoutType
toNavigationSuiteType.NONE
navigationSuite
content in anAnimatedVisiblity
composable.First option leads to this which has a jarring effect.
Second is also similar . Just that the container hides after the animation completes.
Ideally there should be a way to hide the navigation bar/rail with proper animation.