Hi, on compose multiplatform Android, when draggin...
# compose
f
Hi, on compose multiplatform Android, when dragging the cursor on a TextField the interaction received is PressInteraction.Release, it this normal? it should be Drag or something?
z
Which version of Compose?
f
Copy code
1.7.0-beta02
My workaround is to save the previous event to detect the couple PRESSED/RELEASE, I don’t need the dragging event (yet).
z
1.7 has been stable for a couple weeks now, does it reproduce on the latest version?
If so, please file a bug
f
yeah, just wanted some advice about this behavior. I will make an issue on the board with a sample.
z
My guess is because the thing reporting simple press interactions is different than the thing handling drag, so the wrong thing emits "Release" when the drag takes over. Just a guess, probably still not good behavior
f
For each dragging on each letter there is a release event, technically it’s not the case, I guess.
Just tested with a clean project. Actually, there is no Drag event when moving the cursor. On iOS, the interactive source is not implemented, there is only one event --> Focus. I will check in my project what is wrong. thanks!