-
-
Notifications
You must be signed in to change notification settings - Fork 292
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Performance impact when using in LazyColumn #520
Comments
Hey @OlehHaidaienko, sorry for the late response. I'm wondering if this still happens with the latest version 1.6.3. Thanks! |
@skydoves Hi, unfortunately still reproducible on 1.6.3. Please check the screen recordings. |
Hi @skydoves, I've been also looking into some performance issues with Balloon tooltips in Compose, and one thing I noticed is that the
(generated using these instructions) I am not sure how the builder is used internally, so I can't give any advice on how to solve this (e.g. if annotating with |
Hey @eduardb, I don't think it's directly related to the stable marker, but I just released a snapshot version (1.6.5-SNAPSHOT), which annotates the |
I confirm also have the same problem, and it's actually pretty bad. I have a LazyColumn in my app and each item has two balloons for tooltips and scrolling even in release build gets SOO laggy. Once I remove the balloons - everything gets back to perfectly smooth scrolling. I guess maybe thats because of creating of the builder for each item even though it's remembered...I wanna try and see if I can create the builder just once for the entire app and provide it in items through the LocalComposition... UPD: |
Hi, I observed the same behavior in my application, updating to last version (1.6.5) didn't improve the performance issue. Have you eventually come up with a workaround @OlehHaidaienko ? |
@JeremyThivet Hi, for this case, I created a simple tooltip implementation based on |
Please complete the following information:
Describe the Bug:
When you're building a large screen and use
LazyColumn
with multipleBalloon
you'll get performance impact - slight freeze during scrolling even on release buildExpected Behavior:
No performance reduction
Example
The text was updated successfully, but these errors were encountered: