Skip to content

Commit a616a91

Browse files
committed
fix: prevent tooltip from consuming tap events
1 parent 7d4c1b2 commit a616a91

File tree

1 file changed

+2
-1
lines changed
  • app/src/main/java/to/bitkit/ui/components

1 file changed

+2
-1
lines changed

app/src/main/java/to/bitkit/ui/components/Tooltip.kt

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ fun Tooltip(
2020
text: String,
2121
tooltipState: TooltipState,
2222
modifier: Modifier = Modifier,
23-
content: @Composable (() -> Unit)
23+
content: @Composable () -> Unit
2424
) {
2525
TooltipBox(
2626
modifier = modifier,
@@ -48,6 +48,7 @@ fun Tooltip(
4848
}
4949
},
5050
state = tooltipState,
51+
focusable = false,
5152
content = content
5253
)
5354
}

0 commit comments

Comments
 (0)