Kindly Dropdown Menu
fun KindlyDropdownMenu(expanded: Boolean, onDismissRequest: () -> Unit, items: List<String>, onItemClick: (Int) -> Unit, backgroundColor: Color, itemColor: (Int) -> Color, itemTestTag: (Int) -> String = { "menu_item_$it" }, containerTestTag: String = "dropdown_topbar_menu")
Anchored dropdown menu that scrolls when its content is taller than the available screen space. Built as a replacement for Material's DropdownMenu, which clamps its height and silently hides items that don't fit.
The popup right-aligns under its anchor (e.g. an overflow-icon button).