sphinx-kotlin icon indicating copy to clipboard operation
sphinx-kotlin copied to clipboard

Close Detail Screen navigation animation

Open 05nelsonm opened this issue 3 years ago • 1 comments

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.

05nelsonm avatar May 26 '21 18:05 05nelsonm

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

tomastiminskas avatar Mar 11 '22 16:03 tomastiminskas