Change theme
Help
Press space for more information.
Show links for this issue (Shortcut: i, l)
Copy issue ID
Previous Issue (Shortcut: k)
Next Issue (Shortcut: j)
Sign in to use full features.
Vote: I am impacted
Notification menu
Refresh (Shortcut: Shift+r)
Go home (Shortcut: u)
Pending code changes (auto-populated)
View issue level access limits(Press Alt + Right arrow for more information)
Unintended behavior
View staffing
Description
Component used: Navigation
Version used:
2.3.5
, androidx.Fragment1.3.2
Devices/Android versions reproduced on: Pixel 2 Android Emulator API LVL 29
Originally I have thought the issue comes from Dagger.Hilt, but this was a false assumption and I got corrected here:https://github.com/google/dagger/issues/2533
I have confirmed by my own testing, that the issue indeed starts with
androidx.fragment
version1.3.2
.This release of
androidx.fragment
has introduced a bug that manifests itself during navigation. It uses Jetpack Navigation framework to use animations for entering and exiting screen. XML of animations can be found in the linked project. They're pretty standard slide in/slide out animations used by many projects out there.I have created a simple project that reproduces the issue, here:
https://github.com/lukas1/Hilt-Navigation-Issue/tree/master
If you change in the project the version of
androidx.fragment
to1.3.1
, the animation behaves as expected.Expected animation:
Correct Behaviour of Fragment 1.3.1
Actual animation:
Incorrect Behaviour of Fragment 1.3.2