Fixed
Status Update
Comments
sg...@google.com <sg...@google.com>
sg...@google.com <sg...@google.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.
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
.
ap...@google.com <ap...@google.com> #4
Are you testing on a debug or a release version of your APK?
Description
Jetpack Compose version: 1.3.1 Jetpack Compose component used: androidx.compose.material3.material3 (1.0.1) Android Studio Build: Giraffe | 2022.3.1 Canary 2 Kotlin version: 1.7.10
Stack trace (if applicable): n/a
In the current version of Material 3 library there's no easy way to manipulate parameters of displayed title in
LargeTopAppBar
. In my case I'd like to change the default value oftitleHorizontalArrangement = Arrangement.Start
but with current API it's not possible.Do you plan to add support for this? Maybe it'd make sense to create a similar object to
TopAppBarColors
but dedicated for title text?Thanks