Just read the article, and while I think everything about it is correct, my experience on desktop (while I was trying to answer your question) is that the
interactionSource
no longer emits events the moment there's text in the field.
It feels like a bug in Compose Desktop, but I'm not quite sure of that.
b
Binod Basnet
02/20/2025, 2:32 PM
I didn't notice it at first, but I actually want to show a bottom sheet when I click on the TextField. I didn't check for the click event when there was text. However, every time I click on the TextField, regardless of whether there is selected text or not, the click event is triggered. I confirmed this using debug mode.