Skip to content

Commit a0b4dfa

Browse files
Material Design Teamleticiarossi
authored andcommitted
[BottomSheet] Fix keyboard animation on Android 14
PiperOrigin-RevId: 752302187
1 parent 34853f1 commit a0b4dfa

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/java/com/google/android/material/bottomsheet/BottomSheetDialog.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -306,7 +306,7 @@ private View wrapInBottomSheet(
306306

307307
if (edgeToEdgeEnabled) {
308308
ViewCompat.setOnApplyWindowInsetsListener(
309-
bottomSheet,
309+
container,
310310
new OnApplyWindowInsetsListener() {
311311
@Override
312312
public WindowInsetsCompat onApplyWindowInsets(View view, WindowInsetsCompat insets) {

0 commit comments

Comments
 (0)