RE
06/26/2022, 2:41 PMClickableText
to pass touches to underlying components? In the case that the user does not click on a specific text, I hope that ClickableText
can pass the click event without consuming the click event, such as a clickable Card
saket
06/26/2022, 7:51 PMRE
06/26/2022, 11:48 PMjames
10/11/2022, 8:38 PMsuspend fun PointerInputScope.detectTapGestures(
onDoubleTap: ((Offset) -> Unit)? = null,
onLongPress: ((Offset) -> Unit)? = null,
onPress: suspend PressGestureScope.(Offset) -> Unit = NoPressGesture,
onTap: ((Offset) -> Unit)? = null
)
..my current line of thinking is to have another parameter like shouldConsumeTapAtOffset: (Offset) -> Boolean
which will allow the caller to control whether these events should be consumed or notsaket
10/11/2022, 8:40 PM