Anyone seen SearchBar Crash App

TrevorChadwick.8191TrevorChadwick.8191 USMember ✭✭
edited April 2015 in Xamarin.Forms

So I have an issue with a SearchBar declared in Xaml, that when searched, triggers another page to be loaded, however, when I do this, it crashes the app with an Unhandled Exception, has anyone seen this? I have created a small application that can reproduce the issue and attached it. Please let me know if you've seen this and especially if you know of any fixes!

Best Answer


  • In the meantime, I did find a temporary work-around, where you spin off a task when the searchclicked is triggered and then invoke the page change.

  • As an addendum, if in whatever eventhandler you have attached to the SearchClicked event, you add the following wrapper, it appears to resolve the issue:
    // Corresponding code to swap MainPage

Sign In or Register to comment.