Skip to content

Commit 1ee9a86

Browse files
Material Design Teamdsn5ft
authored andcommitted
[Dialog] Fixed issue with child views overflowing from the alert dialog.
PiperOrigin-RevId: 739309127
1 parent 37adad2 commit 1ee9a86

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

lib/java/com/google/android/material/dialog/res/layout/m3_alert_dialog.xml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,8 @@
2121
android:layout_width="match_parent"
2222
android:layout_height="wrap_content"
2323
android:gravity="start|left|top"
24-
android:orientation="vertical">
24+
android:orientation="vertical"
25+
android:clipChildren="true">
2526

2627
<include layout="@layout/m3_alert_dialog_title"/>
2728

0 commit comments

Comments
 (0)