material-components / material-components/material-components-android

[MaterialContainerTransform] Card Shadow Blinking when returning with Shared Element Transition between Activities

Open
#2,592 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug Feature: Transition Widget: Card
Dominant language
Java
Stars
17.4k
Forks
3.2k
PR merge metrics
No merged PRs in 30d

Description

**Description:** I have already raised a Stack Overflow question for the same: (https://stackoverflow.com/q/71338984/9520315)

**Expected behavior:** The card shouldn't blink while returning from another activity.

**Source code:** "Transition between activities" section of (https://m3.material.io/libraries/mdc-android/motion#container-transform)

**Demonstration Video:** https://youtu.be/fiMzAIcP23o

**Minimal sample app repro:** https://github.com/Sujal1245/WALLisWALL-Wallpaper-App

**App's link:** https://play.google.com/store/apps/details?id=com.Sujal_Industries.wallpapers.WALLisWALL

**Android API version:** 30 (but tested with other versions too and still the same issue)

**Material Library version:** 1.6.0-alpha03

**Device:** Galaxy A50 (but the problem is noticeable in other devices too)

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by running the minimal sample app repro and reviewing the “Transition between activities” section of the Material Components Android documentation. Reproduce the card-shadow blink when returning from the second activity across the reported Android versions, then verify that the card no longer blinks during the shared element transition.

Written by the indexing model from the issue text.

Assessment

Tech stack
android, java
Domain
mobile-dev
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.