CopyPastor

Detecting plagiarism made easy.

Score: 2; Reported for: String similarity, Exact paragraph match Open both answers

Possible Plagiarism

Reposted on 2023-09-27
by midFang

Original Post

Original - Posted on 2023-09-27
by midFang



            
Present in both answers; Present only in the new answer; Present only in the old answer;

If you are using a version below 2.7.0, then you can use this method to remove the animation
NavHost( navController = navController, startDestination = startDestination, modifier = Modifier .fillMaxSize(), enterTransition = { EnterTransition.None }, exitTransition = { ExitTransition.None }, popEnterTransition = { EnterTransition.None }, popExitTransition = { ExitTransition.None }, )
If you are using version 2.7.0 or above, this version seems to trigger a scaling animation that cannot be removed.
You can only upgrade
implementation("androidx.compose.ui:ui:ui:1.6.0-alpha03")
and then it will be normal I saw others having this happen here https://issuetracker.google.com/issues/297258205#comment1
If you are using a version below 2.7.0, then you can use this method to remove the animation
NavHost( navController = navController, startDestination = startDestination, modifier = Modifier .fillMaxSize(), enterTransition = { EnterTransition.None }, exitTransition = { ExitTransition.None }, popEnterTransition = { EnterTransition.None }, popExitTransition = { ExitTransition.None }, )
If you are using version 2.7.0 or above, this version seems to trigger a scaling animation that cannot be removed.
You can only upgrade
implementation("androidx.compose.ui:ui:ui:1.6.0-alpha03")
and then it will be normal I saw others having this happen here https://issuetracker.google.com/issues/297258205#comment1

        
Present in both answers; Present only in the new answer; Present only in the old answer;