Does any have the issue that `LazyColumn` renders ...
# compose
t
Does any have the issue that
LazyColumn
renders blank item content after beta07? sample code and reproduce step in thread
6
Copy code
MaterialTheme {
    Scaffold {
        LazyColumn {
            items(1000) {
                Text(text = "item $it")
            }
        }
    }
}
Scroll down for some distance and scroll up super fast, you will get something like this:
And in production if you checkout https://github.com/TwidereProject/TwidereX-Android with
feature/compose-beta07
branch, you will got something like this easily if you scroll fast, notices the empty space between the divider. not sure if it's related
s
😨
I was about to update to Beta07.
a
@Tlaster for the first screenshot, could you try to set Modifier.fillMaxHeight() on LazyColumn? there was an old bug which looked similar and will be fixed for beta08
t
It still happens
a
I will try to checkout your project and reproduce, thanks
m
Has anyone resolved this?
a
I am still working on fixing the issue, but I don’t think there is a workaround for it. I suggest to stay on beta06 for now
❤️ 1
🙏 6
for everyone affected: please follow this bug https://issuetracker.google.com/issues/188566058
👀 2
2
m
Thanks for your answer! In beta06, LazyColumn still suffers from UI stuttering though. Is there a workaround for a smooth list experience?
a
in beta07 the scrolling performance is improved a bit, but this bug is introduced. once I merge the fix I will share in the bug how to use the snapshot build with the fix, in case you would want to try it
🙏 2
FYI: shared a workaround in the bug
🙏 1
💪 2
j
It definitely helps. Though now only a single item at index 1 doesn't draw its content when scrolling up and down the first time. 🤔
💥 1
a
interesting. can you show the code?
s
Is there any update to this issue?
a
In is now fixed in the main branch. see the bug for more details
🙏 3