I have an issue where a ComposeView just freezes (...
# compose
c
I have an issue where a ComposeView just freezes (animations stop and no input is registered) when navigating to its fragment. The profiler shows that the UI thread is just sleeping and doing nothing. It also shows the touches/clicks but the composables inside the ComposeView doesn't receive the clicks and animations do not run. The app (main thread) is not frozen as I can use a bottom nav view to switch to another fragment and back. If I do that then everything works as expected. It is triggered by a deep link which navigates to the startDestination of the nav graph just with a new Bundle containing the data from the deep link. Maybe there is a conflict between the nav component navigating to the startDestination and the deep link triggering another navigate() immediately afterwards. Any pointer on how to debug this?
👀 1
The same thing happens if you use "Apply Changes and Restart Activity" in Android Studio.
m
@clhols have you find a way around this or how to get some logs? I see the issue in current beta03. I will see if it happens due to some dependencies...