Noé Casas
02/03/2021, 4:36 PM.clickable
modifier but with information of the position where the user clicked?Bryan Herbst
02/03/2021, 4:39 PMInteractionState
. Here’s how Ripple
gets the press position to place the Ripple correctly: https://cs.android.com/androidx/platform/frameworks/support/+/androidx-main:compose/[…]ompose/material/ripple/Ripple.kt;l=177-181?q=rippleindicationLouis Pullen-Freilich [G]
02/03/2021, 4:51 PMModifier.pointerInput
instead, with detectTapGestures
Noé Casas
02/03/2021, 7:11 PMInteractionState
because it was clearer to me how to use it.