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

[MaterialContainerTransform] Element transition not being retained when opening a nested screen

Aperta
#2,197 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

Nessuno ha ancora preso questa issue.

bug Feature: Transition
Lingua principale
Java
Stelle
17.4k
Fork
3.2k
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

Description:
Once we open "SCREEN A" from "HOME SCREEN" with Material Container Transform it works fine and does the return transformation too. But if we open another activity "SCREEN B" from "SCREEN A" then "SCREEN A" loses its transformation settings.

Expected behavior:
"SCREEN A" material container should retain how it was launched and return back in the same transition.

Android API version: 30

Material Library version: 1.3.0

Device: Pixel 2XL

Screenshot/Video:
Screen 1: List of arts
Screen 2: Art details
Screen 3: Artist details

We open "SCREEN 2" by clicking on art on "SCREEN 1", it follows enter and exit material transformation. But when we open "SCREEN 3" from "SCREEN 2" then "SCREEN 2" loses its material transform property.

https://user-images.githubusercontent.com/7822179/116664387-05b7b680-a9b6-11eb-9782-e243022b4d39.mp4

Guida per i contributori

Apri la guida per i contributori

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Direzione di ricerca

Inizia riproducendo il flusso a tre schermate descritto nell’issue su Android API 30 con Material Library 1.3.0, usando come riferimento il video collegato. Traccia come viene configurato Material Container Transform quando si apre Screen 2 e poi Screen 3; il lavoro è completato quando Screen 2 mantiene le impostazioni di avvio e torna con la stessa transizione.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Valutazione

Stack tecnologico
android, java
Ambito
mobile
Tipo di issue
Bug
Difficoltà
4/5
Tempo stimato
3-5 giorni
Stato di attività
Ferma
Chiarezza
Abbastanza chiara
Idoneità per principianti
35/100

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.