Describe the bug
Gallery Example thumbnail disappear when switch PhotoViewGallery and pop back
To Reproduce
➜ ~ flutter doctor
Doctor summary (to see all details, run flutter doctor -v):
[✓] Flutter (Channel master, v1.9.8-pre.82, on Mac OS X 10.15 19A546d, locale
zh-Hans-CN)
[✓] Android toolchain - develop for Android devices (Android SDK version 28.0.3)
[✓] Xcode - develop for iOS and macOS (Xcode 10.3)
[✓] Android Studio (version 3.5)
[✓] VS Code (version 1.38.0)
[✓] Connected device (2 available)
• No issues found!
➜ ~

Can you confirm it still happens with flutter 1.7?
Tried to reproduce, by all means, I couldn't.
We had a lot of weird issues with images that were fixed on the last updates, like this one.
For the sake of organization, I will clsoe this issue for now. If you think the problem persists, feel free to reopen it.
ok,it works ok with flutter stable channel v1.7.8+hotfix.4, but still happens with flutter master v1.10.1-pre.41.
This is happening for me on flutter stable 1.9.1+hotfix.2.
@kamaldaniels have you noticed it on any of your apps or only on our example?
I have seen it in my own app... It seems to be related to the hero widget going off screen. If I removed the heroTag, the image doesn't disappear. Looks to be related to: https://github.com/flutter/flutter/issues/40239
I have the same bug. I am guessing this caused this bug: https://github.com/flutter/flutter/pull/37341
Can confirm this is caused by flutter/flutter#37341. The earliest version with a fix is v.1.10.14: 6430012, which is currently in beta branch. I've upgraded flutter to v.1.10.14 and the issue is fixed, so I would say this is not a problem with a package, but due to a bug in flutter, and consider this issue closed?
@Addictorator I think so. Thank you for tracking this down.
So since it is a framework issue with a built-in solution (no workarounds available), there is nothing we can do here.
If you disagree our think the problem was not really tackled, feel free to answer here and perhaps we can reopen this issue.
Most helpful comment
I have seen it in my own app... It seems to be related to the hero widget going off screen. If I removed the heroTag, the image doesn't disappear. Looks to be related to: https://github.com/flutter/flutter/issues/40239