Skip to content

Commit

Permalink
Add contentZIndex for AnimatedNavHost
Browse files Browse the repository at this point in the history
  • Loading branch information
ommiao committed Sep 12, 2022
1 parent e69b0bf commit 2a39e5d
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -202,6 +202,8 @@ public fun AnimatedNavHost(
finalEnter(this) with finalExit(this)
} else {
EnterTransition.None with ExitTransition.None
}.apply {
targetContentZIndex = navController.backQueue.size.toFloat()
}
},
contentAlignment,
Expand Down

0 comments on commit 2a39e5d

Please sign in to comment.