Assigned
Status Update
Comments
an...@google.com <an...@google.com>
ma...@google.com <ma...@google.com> #2
Seeing the same issue in ModalBottomSheet from material3-android -> 1.4.0-alpha05
.
Description
Jetpack Compose component used: Dialog (via Navigation dialog() destination)
Android Studio Build: Build #AI-242.23339.11.2421.12700392
Kotlin version: 2.0.21
The current implementation of `AndroidDialog` is using `screenWidthDp` and `screenHeightDp` which are excluding WindowInsets starting from Android 15. This leads to dialogs floating under the navigation bar when `usePlatformDefaultWidth` is set to `false`, presumably because of the `internalOnMeasure()` method, if I understand the code correct.
I attached some screenshots and a repro.
Originally, I posted this issue in the Material section because we thought it's something about `Scaffold` but that was wrong. Maybe you can close the other one: