Why doesn't ClickableText have a touch down effect...
# compose-android
c
Why doesn't ClickableText have a touch down effect? While text with a clickable modifier does? whats even the point of clickableText
f
the why, it's because it uses
pointerInput
, which does not do click highlight (unlike
clickable
modifier). Why that is so, I don't know, maybe because this is not a material composable but a foundation one would be my guess
z
It should never have shipped (imo). It’s a code sample of a starting point for building a half-baked solution.
1
@Anastasia [G] is actively working on proper link support - the first bits of the impl are already merged
🎉 1
a
Ahh.. We used
ClickableText
for one of our production app(For making text with links on it). Should we using something else? Or will there be some other component for this usecase?
c
I'll try looking for the first bits that are already merged. Thanks Zach
z
If it works for your needs, then there’s no reason not to use it
👍 1