Skip to content

Use [AppendTo|PrependTo|Replace]Mapping for Focus commands#15040

Merged
rmarinho merged 9 commits into
mainfrom
dev/focus
May 30, 2023
Merged

Use [AppendTo|PrependTo|Replace]Mapping for Focus commands#15040
rmarinho merged 9 commits into
mainfrom
dev/focus

Conversation

@mattleibow
Copy link
Copy Markdown
Member

@mattleibow mattleibow commented May 11, 2023

Description of Change

This PR makes use of some new APIs to ensure the focus command is working in AOT as well as to remove complexity.

Part of the fix for #11662 and part of PR #13836

@mattleibow mattleibow requested review from PureWeen, mandel-macaque and rachelkang and removed request for PureWeen and rachelkang May 11, 2023 18:41
Comment thread src/Controls/src/Core/Platform/iOS/Extensions/TextExtensions.cs Outdated
Comment thread src/Controls/src/Core/Platform/iOS/Extensions/TextExtensions.cs Outdated
Comment thread src/Core/src/Handlers/SearchBar/SearchBarHandler.Android.cs
Comment thread src/Controls/src/Core/Entry/Entry.Mapper.cs Outdated
Comment thread src/Controls/src/Core/HandlerImpl/Editor/Editor.cs Outdated
Comment thread src/Controls/src/Core/HandlerImpl/SearchBar/SearchBar.cs Outdated
Comment thread src/Controls/src/Core/HandlerImpl/VisualElement/VisualElement.cs Outdated
@mattleibow mattleibow changed the title Use AppendToMapping for Focus commands Use [AppendTo|PrependTo|Replace]Mapping for Focus commands May 24, 2023
Comment thread src/Controls/src/Core/HandlerImpl/VisualElement/VisualElement.cs Outdated
Copy link
Copy Markdown
Member

@PureWeen PureWeen left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good! Once @rachelkang is happy let's merge

Copy link
Copy Markdown
Member

@rachelkang rachelkang left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM! Android ShowKeyboardOnFocus is happy, device tests are happy

@mattleibow
Copy link
Copy Markdown
Member Author

Seems the iOS tap gestures to resign the responder are not working now :( Maybe the rebase will fix it...

@mattleibow mattleibow requested review from PureWeen and rachelkang May 26, 2023 16:45
@rmarinho rmarinho merged commit 8f86a57 into main May 30, 2023
@rmarinho rmarinho deleted the dev/focus branch May 30, 2023 11:11
rmarinho pushed a commit that referenced this pull request May 30, 2023
* Use AppendToMapping for Focus commands

* undo this

* and this

* different

* Fix focus methods

* this
@ghost ghost added the legacy-area-controls Label, Button, CheckBox, Slider, Stepper, Switch, Picker, Entry, Editor label Jul 11, 2023
@github-actions github-actions Bot locked and limited conversation to collaborators Dec 10, 2023
@Eilon Eilon removed the legacy-area-controls Label, Button, CheckBox, Slider, Stepper, Switch, Picker, Entry, Editor label May 10, 2024
@samhouts samhouts added the fixed-in-8.0.0-preview.5.8529 Look for this fix in 8.0.0-preview.5.8529! label Aug 2, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants