Demo project demonstrating a bug in Jetpack Navigation Compose.
bug-scr-record.mp4
Steps to reproduce -
- Open
MainActivity
in portrait mode. - Change the orientation to landscape mode.
- Change the orientation back to portrait mode.
Actual result - The content of the screen disappears and the screen turns white.
Expected result - The content of the screen should restore correctly.