https://kotlinlang.org logo
#compose
Title
# compose
a

aipok

06/23/2020, 2:47 PM
How to disable
Text
value from being selected on long press? I have a
Text
element inside
Button
and while I long click on button, its text is being selected. Could not find how can I disable it.
It looks like this.
s

Siyamed

06/23/2020, 2:50 PM
temporary solution is to add a long click modifier that does not do anything.
a

aipok

06/23/2020, 2:51 PM
nice, thanks a lot.
3 Views