Skip to content

Image is animating to actual size on Android and stuck at small size on iOS #430

@msasikanth

Description

@msasikanth

Bug Description

Hi, I have been using this library in my app for a while, and I just noticed a weird issue with how image is scaling to actual size on Android & iOS

On Android the image starts out small and then is animating to full size, is there a way to skip that scale animation and force it to go to full size immediately.

video_2025-07-19_16-30-19.mp4

On iOS the same image is stuck on small size weirdly and not scaling up at all.

Image

Steps to Reproduce

I am using MarkdownElement so that I can add other elements I need in the LazyColumn.

https://github.com/msasikanth/twine/blob/bceff5f578131b04d842dc803e95f16c7adfd701/shared/src/commonMain/kotlin/dev/sasikanth/rss/reader/reader/page/ui/ReaderPage.kt#L258

Every time the component is revisited after scrolling, the animation starts again on Android.

Environment

  • Library Version: 0.35.0 / 0.36.0-b02
  • Platform: Android, iOS
  • Device: Pixel 7, iPhone 15 Pro
  • OS Version: Android 16, iOS 26 (I noticed small image sizes on older iOS version as well)
  • Kotlin Version: 2.2.0
  • Compose Version: 1.9.0-alpha03

Checklist

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions