<div class='sourceset sourceset-android'>Android</div>

```kotlin
PopUntilCurrentDestinationChange,
```

Pop destinations from the backstack until there is a change in the current destination pane.

In a single-pane layout, this should behave similarly to [PopUntilScaffoldValueChange](/jetpack-compose/androidx.compose.material3/material3-adaptive/classes/BackNavigationBehavior.PopUntilScaffoldValueChange). In a
multi-pane layout, it is possible for both the current destination and previous destination
to be showing at the same time, so this may not result in a visual change in the scaffold.