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

[Question]Share transition element don't working when return #848

Open
DorisGM opened this issue Dec 31, 2020 · 1 comment
Open

[Question]Share transition element don't working when return #848

DorisGM opened this issue Dec 31, 2020 · 1 comment

Comments

@DorisGM
Copy link

DorisGM commented Dec 31, 2020

hi, i have a question. I use share transition with fragments , at first fragment i enter second fragment from a recylcerview and the second detail fragment is DetailSupportFragment. I share the program logo with detailSupportFragment's logo , and when i scroll second fragment to bottom (logo invisible and detach from view ) and i back to first fragment . I find the recyclerview's item(last selected) image disappeared . I guess because of the view detached or view remove will result it. But seems like just fragments have this problem. I check with share element with activity, all works fine.

@DorisGM
Copy link
Author

DorisGM commented Dec 31, 2020

And I find if i remove at enter transition, share view will show when back from second fragment, but when enter from first element, transition can't remember the view original position and animation always start from the top of left rather than start from the view i choose

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant