Android-Guild / Picover

App for documenting memories from Android Guild meetings and parties.
7 stars 0 forks source link

BottomSheet rotation issue #276

Open kmaslowiec opened 11 months ago

kmaslowiec commented 11 months ago

https://github.com/intive/Picover/assets/33199010/d4ba6889-2c2f-4137-9a6c-2c686eda3587

Possible solution: upgrade Material Design to [1.2.0-alpha08]

https://github.com/intive/Picover/assets/33199010/0dc9a1dc-86da-4b37-b40c-3300e4b6194e

michal-kucznerowicz commented 11 months ago

Decided to wait for a stable version with a fix.

kmaslowiec commented 11 months ago

The issue appears only in our project. Even though the second issue can be fixed with the upgraded Material3, it can be fixed differently. It needs to be addressed.

kmaslowiec commented 11 months ago

When we change orientation we are using two different NavHosts. One in PicoverNavigationRail (horizontal) and the other PicoverNavigationBar. Hypothesis: Implementing one nav host for both components can resolve the issue.

kmaslowiec commented 10 months ago

Maybe rememberUpdatedState? Needs to be investigated.

kmaslowiec commented 10 months ago

Source: Official: https://google.github.io/accompanist/ FAQ: https://medium.com/androiddevelopers/jetpack-compose-accompanist-an-faq-b55117b02712 GitHub: https://github.com/google/accompanist

MarekMacko commented 10 months ago

@kmaslowiec Is there anything do to left?

kmaslowiec commented 10 months ago

@kmaslowiec Is there anything do to left?

@MarekMacko Yep, we still need to wait for the stable version that will fix the crash. Please see above: up