iOS on-screen backspace not handled in `onPreviewKeyEvent`
Describe the bug
Backspace key not handled with iOS onscreen keyboard. But it handled with physical keyboard on simulator.
Affected platforms Select one of the platforms below:
- iOS
Versions
- Kotlin version*: 1.9.10
- Compose Multiplatform version*: 1.5.3, 1.5.10-rc01
To Reproduce
Modifier.onPreviewKeyEvent { event ->
if (event.key == Key.Backspace) {
println("backspace pressed")
}
}
Reproducer: https://github.com/dima-avdeev-jb/ios-simulator-preview-key-event-backspace
@dima-avdeev-jb Do you know any workaround to detect backspace in iOS. Like how BasicTextField detect backspace.
@farhazulmullick-pw Sorry, but I don't know any workaround
Hello! Any updates about this bug?
Please check the following ticket on YouTrack for follow-ups to this issue. GitHub issues will be closed in the coming weeks.