Jeff Lockhart
06/06/2025, 2:34 AMonValueChange
lambda is being called with the additional space added after tapping/dragging. The space is added where the cursor is before the tap/drag cursor move. It seems to limit the change to one space between each character. Tapping around eventually results in a space between each character. E.g. typing t-e-s-t and tapping/dragging around:
t
te
tes
test
te st
t e st
t e s t
Any idea what's going on here?
It's the same behavior on Jetbrains Compose plugin 1.6.10-1.8.1 and Kotlin 2.0.21-2.1.21.Jeff Lockhart
06/06/2025, 4:06 AMTextField
in SwiftUI! Maybe this is a bug with the iOS simulator?Jeff Lockhart
06/06/2025, 4:31 AMJeff Lockhart
06/06/2025, 6:53 AM