WindowCascadingListPopup

fun WindowCascadingListPopup(show: Boolean, entries: List<DropdownEntry>, onDismissRequest: () -> Unit, popupModifier: Modifier = Modifier, onDismissFinished: () -> Unit? = null, popupPositionProvider: PopupPositionProvider = ListPopupDefaults.DropdownPositionProvider, alignment: PopupPositionProvider.Align = PopupPositionProvider.Align.End, enableWindowDim: Boolean = true, maxHeight: Dp? = null, minWidth: Dp = 200.dp, dropdownColors: DropdownColors = DropdownDefaults.dropdownColors(), collapseOnSelection: Boolean = true)

A cascading list popup rendered at window level (as a Dialog) instead of inside a Scaffold. Otherwise behaves identically to top.yukonga.miuix.kmp.overlay.OverlayCascadingListPopup.

Parameters

show

Whether the popup is shown.

entries

Grouped dropdown entries; top-level DropdownItems with non-empty DropdownItem.children become submenu triggers.

onDismissRequest

Invoked when the popup wants to be dismissed.

onDismissFinished

Invoked after the exit animation finishes.

popupModifier

Modifier applied to the popup body.

popupPositionProvider

Position strategy for the primary popup relative to its anchor.

alignment

Alignment of the primary popup.

enableWindowDim

Whether to dim the rest of the window while the popup is shown.

maxHeight

Maximum height of either side. Null bounds it by the safe area.

minWidth

Minimum width of the popup.

dropdownColors

Colors used by every row.

collapseOnSelection

When true, selecting any leaf dismisses the popup.