Expectation:
So I have a NavHost with just one destination called "home" and it has a logout button positioned to the top-right corner. Also there is a Loading composable.
When app starts, it will show Loading... and then it should switch to Content(), which displays one button and has a red background.
Actual:
As you can see it only takes space that was first ocupied by Text:
If I use compose version "1.1.1" it works as expected but breaks at version "1.3.0-beta03". Have not tested on other versions...
Hi, hpefuly this is right place to report this...
Expectation: So I have a NavHost with just one destination called "home" and it has a logout button positioned to the top-right corner. Also there is a Loading composable.
When app starts, it will show
Loading...
and then it should switch toContent()
, which displays one button and has a red background.Actual: As you can see it only takes space that was first ocupied by Text:
If I use compose version "1.1.1" it works as expected but breaks at version "1.3.0-beta03". Have not tested on other versions...
Here is the code:
Gradle: