ComposeCharts icon indicating copy to clipboard operation
ComposeCharts copied to clipboard

Animate only once and not on recomposition

Open sudansh opened this issue 2 months ago • 3 comments

If I have a chart on LazyColumn the chart would animate every time it comes on screen. There is no option to animate it once per page.

sudansh avatar Oct 13 '25 13:10 sudansh

Hi @sudansh , provide your code please

ehsannarmani avatar Oct 13 '25 20:10 ehsannarmani

https://github.com/user-attachments/assets/fb77fdb2-3d33-41b4-b671-5ecf042c647d This is the sample from the app. You can see the charts scrolls every time they appear on the viewport.

sudansh avatar Oct 19 '25 13:10 sudansh

Right, i understand. I think i should move logical codes to something like view model in next versions to fix this.

ehsannarmani avatar Oct 20 '25 08:10 ehsannarmani