jonataslaw / getx

Open screens/snackbars/dialogs/bottomSheets without context, manage states and inject dependencies easily with Get.
MIT License
10.02k stars 1.58k forks source link

The hero animation is not working. #2931

Open synstin opened 9 months ago

synstin commented 9 months ago

The hero animation does not work when using GET routing. Will this be fixed in the getx5 version?

Related issues https://github.com/jonataslaw/getx/issues/2276

juskuc commented 8 months ago

Experiencing the same issue.

Hero animations are broken when using Get.to() or other Get routing functions. @jonataslaw are there any plans to get this fixed? Or perhaps there's some kind of work around to get it working?

fabianogadenz commented 2 months ago

Getx breaks the rescue behavior from the InheritedWidget context where Hero works. I solved it by migrating all my routes to Flutter default Navigator.