sphinx-kotlin
sphinx-kotlin copied to clipboard
Close Detail Screen navigation animation
Closing of a detail screen that has more than 1 Fragment on its backstack animates the screen down and to the right of the screen. This behavior should be downward only and seems to be attributed to the navigation to the blank fragment that has default nav options set as it's the starting destination for the detail nav graph.
This issue can be easily reproduced opening the drawer menu, going to:
Add Friend -> New to Sphinx
Then using the X close button on the right top corner to dismiss the entire detail fragment container.
https://user-images.githubusercontent.com/2242281/157905787-8bf0cbd4-ee6a-4b22-82cd-093316f054ce.mp4
Files involved:
layout_detail_screen_header.xml
AddFriendNavigator.kt
DetailNavigationDriver.kt