Skip to content

Commit b9943f6

Browse files
committed
library: [SuperDropdown/SuperSpinner]: Set hoverable enabled state
1 parent 01bcc94 commit b9943f6

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

miuix/src/commonMain/kotlin/top/yukonga/miuix/kmp/extra/SuperDropdown.kt

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -169,7 +169,8 @@ fun SuperDropdown(
169169
indication = LocalIndication.current
170170
)
171171
.hoverable(
172-
interactionSource = interactionSource
172+
interactionSource = interactionSource,
173+
enabled = enabled
173174
)
174175
.pointerInput(Unit) {
175176
detectTapGestures(

miuix/src/commonMain/kotlin/top/yukonga/miuix/kmp/extra/SuperSpinner.kt

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -173,7 +173,8 @@ fun SuperSpinner(
173173
indication = LocalIndication.current
174174
)
175175
.hoverable(
176-
interactionSource = interactionSource
176+
interactionSource = interactionSource,
177+
enabled = enabled
177178
)
178179
.pointerInput(Unit) {
179180
detectTapGestures(

0 commit comments

Comments
 (0)