Repository navigation
fix: prevent Tab key from inserting character in TextBox on Skia (backport #22823) (6.8) - #25782
Merged
Merged
Conversation
…kport #22823) Manual backport of #22823 to servicing/6.8. In 7.0 this switch lives in TextBoxCore.Input.cs; on 6.x it is the same switch in TextBox.skia.cs, so the four lines and the runtime test are applied there by hand (Mergify can't follow the file move). Related to #22818 Co-authored-by: Martin Zikmund <[email protected]> Co-Authored-By: Claude Opus 5.5 <[email protected]>
Contributor
|
Claude finished @agneszitte's task in 49s —— View job Review: ✅ Ship itVerdict: No issues found — this is a clean, faithful backport. Issues by severity: 0 blocking, 0 minor. No inline comments posted. Verification performed:
No further action needed from my side. |
Merged
1 task done
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
GitHub Issue: Related to #22818
Backport of #22823 to
servicing/6.8.PR Type:
🐞 Bugfix
What changed? 🚀
On Skia (macOS, Linux framebuffer, Android), pressing Tab in a
TextBoxinserted a tab character as well as moving focus. WinUI'sTextBoxnever inserts a tab (it has noAcceptsTab). The key-down switch now returns early onVirtualKey.Tab, so focus navigation still happens and no character is inserted.In 7.0 this switch lives in
TextBoxCore.Input.cs; on 6.x it is the same switch inTextBox.skia.cs, so this is a manual port (Mergify can't follow the file move). The runtime testWhen_Tab_Pressed_Should_Not_Insert_Characteris the one from the master PR, unchanged.PR Checklist ✅
🤖 Generated with Claude Code