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
Searchhandler causes App crash when Text changes on iOS #10547
Comments
Confirmed using iOS simulator on a Mac: ObjCRuntime.ObjCException: 'Objective-C exception thrown. Name: System.NullReferenceException Reason: Object reference not set to an instance of an object. (System.NullReferenceException) Native stack trace: |
We've moved this issue to the Backlog milestone. This means that it is not going to be worked on for the coming release. We will reassess the backlog following the current release and consider this item at that time. To learn more about our issue management process and to have better expectation regarding different types of issues you can read our Triage Process. |
Description
I have a custom SearchHandler that inherits from SearchHandler class.
I set it on the page .cs file via DependencyInjection like this;
when I type something in the SearchBar on the page, the App crashes on iOS. Works perfectly fine on Android!
Looking at the log output it seems like some default colors are missing.
Steps to Reproduce
Link to public reproduction project repository
https://github.com/borrmann/MauiAppSearchBarHandler.App
Version with bug
6.0.486 (current)
Last version that worked well
Unknown/Other
Affected platforms
iOS
Affected platform versions
iOS 16
Did you find any workaround?
No
Relevant log output
The text was updated successfully, but these errors were encountered: