-
Notifications
You must be signed in to change notification settings - Fork 1.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[iOS] Fix SearchBar focus issues #11698
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What do you think about my comment here?
#11542 (comment)
What if we if we fixed the "UnFocus" API so users could control if they want to open or close the keyboard?
Do you mind to move the logic to ViewHandler and check always the PlatformView status? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
minor changes.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can you add tests?
Added Device Test, could you review it again? |
src/Core/tests/DeviceTests/Handlers/SearchBar/SearchBarHandlerTests.iOS.cs
Show resolved
Hide resolved
Thank you for your pull request. We are auto-formatting your source code to follow our code guidelines. |
Description of Change
Fix SearchBar focus issues on iOS/Catalyst.
To test/validate the changes, launch the .NET MAUI Gallery and navigate to the SearchBar sample. Tap on the Focus SearchBar. A dialog must appear.
Issues Fixed
Fixes #11542