Skip to content
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

Crossfade plugin freeze the media attachment preview #5582

Open
pdrozz opened this issue Jan 23, 2025 · 0 comments
Open

Crossfade plugin freeze the media attachment preview #5582

pdrozz opened this issue Jan 23, 2025 · 0 comments
Labels
bug Something isn't working

Comments

@pdrozz
Copy link

pdrozz commented Jan 23, 2025

Describe the bug

Crossfade plugin freeze the image with a gray filter and not show preview of video or image attachments in MessageListScreen.

The simple solution validated by us is removes the crossfade plugin: #5576.

To resolve, remove the crossfade from:

stream-chat-android/stream-chat-android-compose/src/main/java/io/getstream/chat/android/compose/ui/attachments/content/MediaAttachmentContent.kt

SDK version

  • 6.9.0

To Reproduce
Steps to reproduce the behavior:

  1. Runs the stream-chat-android-compose-sample
  2. Open any conversation with video/image media attachment
  3. Scroll away
  4. See the error due the Crossfade

Expected behavior
Video and image medias preview loading correctly

Device:

  • Vendor and model: Emulator Pixel 7a
  • Android version: Android 15 (api 35)

but this happens with various real devices

Screenshots

crossfade_bug_getstream_2.webm
@pdrozz pdrozz added the bug Something isn't working label Jan 23, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant