Fix slide out behavior on media keyboard.

This commit is contained in:
Alex Hart
2026-09-25 12:50:39 -04:00
committed by Michelle Tang
parent 5be9220226
commit 1e9b9db92e
@@ -21,6 +21,7 @@ import androidx.compose.runtime.remember
import androidx.compose.runtime.setValue
import androidx.compose.ui.Alignment
import androidx.compose.ui.Modifier
import androidx.compose.ui.draw.clipToBounds
import androidx.compose.ui.geometry.Offset
import androidx.compose.ui.graphics.graphicsLayer
import androidx.compose.ui.input.nestedscroll.NestedScrollConnection
@@ -88,6 +89,7 @@ internal fun PinnedRailLayout(
Box(
modifier = modifier
.fillMaxSize()
.clipToBounds()
.nestedScroll(scrollConnection)
) {
Box(