Skip to content

Commit 90ab51e

Browse files
imhappipekingme
authored andcommitted
[Catalog] Fix issue with ListPopupWindow a11y
PiperOrigin-RevId: 683696939
1 parent 237f5ec commit 90ab51e

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

catalog/java/io/material/catalog/menu/MenuMainDemoFragment.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -181,6 +181,7 @@ private ListPopupWindow initializeListPopupMenu(View v) {
181181
getResources().getStringArray(R.array.cat_list_popup_window_content));
182182
listPopupWindow.setAdapter(adapter);
183183
listPopupWindow.setAnchorView(v);
184+
listPopupWindow.setModal(true);
184185
listPopupWindow.setOnItemClickListener(
185186
(parent, view, position, id) -> {
186187
Snackbar.make(

0 commit comments

Comments
 (0)