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

[Transition] MaterialSharedAxis / MaterialFadeThrough ignore the `transitionGroup` attribute

Open
#2,215 6 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

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

Description

**Description:** `MaterialSharedAxis` and `MaterialFadeThrough` do not respect the `transitionGroup` attribute. This leads to broken `TextInputLayouts`. `transitionGroup` is absolutely needed, because of these (closed) bugs:
- #1420
- #1135
- #1175
- #1589

**Expected behavior:** The `transitionGroup` attribute should prevent the transitions from animating child views.

**Android API version:** Android API 30 and Android API S (beta 1)

**Material Library version:** 1.4.0 beta01

**Device:** Pixel 4a 5G / Pixel 3 XL

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 locating the MaterialSharedAxis and MaterialFadeThrough transition implementations and any existing transition tests. Reproduce the behavior described for transitionGroup, then verify that child views are no longer animated when the attribute is set, including the TextInputLayout case.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.