Skip to content

Commit

Permalink
Fix keyboard overlapping navigation bar on Android 15 (#1190)
Browse files Browse the repository at this point in the history
* add navigationBarsPadding

* fix linter issues
  • Loading branch information
juschmitt authored Dec 12, 2024
1 parent 2a437fd commit 0f91bb0
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ import androidx.compose.foundation.layout.Column
import androidx.compose.foundation.layout.Row
import androidx.compose.foundation.layout.fillMaxWidth
import androidx.compose.foundation.layout.height
import androidx.compose.foundation.layout.navigationBarsPadding
import androidx.compose.foundation.layout.padding
import androidx.compose.foundation.shape.RoundedCornerShape
import androidx.compose.material3.MaterialTheme
Expand Down Expand Up @@ -353,6 +354,7 @@ fun KeyboardScreen(
Column(
modifier =
Modifier
.navigationBarsPadding()
.then(
if (backdropEnabled) {
Modifier.padding(top = backdropPadding)
Expand Down

0 comments on commit 0f91bb0

Please sign in to comment.