Repository navigation
fix: Backspace handling - #22793
fix: Backspace handling#22793
Conversation
There was a problem hiding this comment.
Pull request overview
This PR adjusts the WebAssembly Browser “invisible textbox” input plumbing to better handle soft-keyboard behaviors (notably on Android), ensuring text entry/navigation works when key events aren’t reliably identifiable by managed code.
Changes:
- Treat both
beforeinputtypesinsertLineBreakandinsertParagraphas Enter when the TextBox does not accept returns. - For Android soft keyboards (keyCode
229/ “Unidentified”), stop propagating thekeydownto the document-level keyboard source so the browser can handle text changes natively (synced viaoninput).
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
|
🤖 Your WebAssembly Skia Sample App stage site is ready! Visit it here: https://unowasmprstaging.z20.web.core.windows.net/pr-22793/wasm-skia-net9/index.html |
ajpinedam
left a comment
There was a problem hiding this comment.
Looks good. Also, Copilot comments seems to be valid
9688af3 to
c02da6c
Compare
Co-Authored-By: Claude Opus 4.6 <[email protected]>
There was a problem hiding this comment.
Pull request overview
Copilot reviewed 1 out of 1 changed files in this pull request and generated 1 comment.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
|
🤖 Your WebAssembly Skia Sample App stage site is ready! Visit it here: https://unowasmprstaging.z20.web.core.windows.net/pr-22793/wasm-skia-net9/index.html |
|
@MartinZikmund I've opened a new pull request, #22804, to work on those changes. Once the pull request is ready, I'll request review from you. |
Co-authored-by: MartinZikmund <[email protected]>
refactor: Replace magic number 229 with ANDROID_IME_KEYCODE constant in BrowserInvisibleTextBoxViewExtension
|
|
|
🤖 Your WebAssembly Skia Sample App stage site is ready! Visit it here: https://unowasmprstaging.z20.web.core.windows.net/pr-22793/wasm-skia-net9/index.html |
|
|
GitHub Issue: closes #
PR Type:
What is the current behavior? 🤔
What is the new behavior? 🚀
PR Checklist ✅
Please check if your PR fulfills the following requirements:
Screenshots Compare Test Runresults.Other information ℹ️