Repository navigation
Mobile: start the iOS keyboard-dismissing drag clear of controls - #557
Merged
Merged
Conversation
…7a5d5) Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01K5H3k1uaErAVw3kQv8fKro
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.
On an iPhone,
Device.DismissKeyboardAsync()dragged from the exact centre of the screen. That point can sit on a checkbox or a button, and a horizontal drag does not scroll, so the control kept the touch and toggled. The drag now starts at the point nearest the centre that no control covers, inside a scroll view when the screen has one. A screen with no such point above the keyboard fails withUNSUPPORTED_CAPABILITYbefore any drag.Ports upstream 787a5d5 (tester-army/e2e#1305):
Keyboard.KeyboardDragStartiskeyboardDragStart(keyboard.ts), andDeviceSession.KeyboardTopiskeyboardTop.SnapshotProjection.ScreenKindsandNormalizeKindare now internal, as upstream exportsSCREEN_KINDS.RawSnapshotreads the keyboard frame.Five upstream
its are ported inDeviceFixtureDismissingAKeyboardThatHasNoDismissKeyTests(one renamed, as upstream). Skipped: 'dismissing the keyboard over choice controls leaves them as they were', which needs the mobile benchmark app the port lacks. No .NET-only symbols beyond theKeyboardclass name (C# has no free functions) andRawSnapshot.KeyboardFrame. UpdatedCOMPATIBILITY.mdandskills/e2e-dotnet/references/mobile.md.Closes #552
🤖 Generated with Claude Code
https://claude.ai/code/session_01K5H3k1uaErAVw3kQv8fKro
Summary by CodeRabbit