We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0ca388a commit c1a0de9Copy full SHA for c1a0de9
miuix/src/commonMain/kotlin/top/yukonga/miuix/kmp/basic/ListPopup.kt
@@ -150,10 +150,12 @@ fun ListPopup(
150
Box(
151
modifier = popupModifier
152
.pointerInput(Unit) {
153
- detectTapGestures {
154
- dismissPopup(show)
155
- onDismissRequest?.let { it1 -> it1() }
156
- }
+ detectTapGestures(
+ onTap = {
+ dismissPopup(show)
+ onDismissRequest?.let { it1 -> it1() }
157
+ }
158
+ )
159
}
160
.layout { measurable, constraints ->
161
val placeable = measurable.measure(
@@ -403,4 +405,4 @@ object ListPopupDefaults {
403
405
404
406
407
-val listPopupStates = mutableStateListOf<MutableState<Boolean>>()
408
+val listPopupStates = mutableStateListOf<MutableState<Boolean>>()
0 commit comments