Skip to content

SearchHandler Command is not executed on iOS #19219

@dhindrik

Description

@dhindrik

Description

When using a SearchHandler on iOS and selecting an item it will not execute the command bound to the Command property. It works on Windows.

Steps to Reproduce

  1. Create a new .NET MAUI app
  2. Add a SearchHandler to the MainPage
  3. Add data to the SearchHandler
  4. Bind to the Command property
  5. Run on iOS
  6. Type in the SearchBox
  7. Select an item

Expected behavior: Command should be executed as it does when running on Windows.
Actual behavior: Nothing on iOS

Link to public reproduction project repository

https://github.com/Hindrikes-YouTube/ShellSearch

Version with bug

8.0.3

Is this a regression from previous behavior?

Not sure, did not test other versions

Last version that worked well

Unknown/Other

Affected platforms

iOS

Affected platform versions

17.0.8578

Did you find any workaround?

Execute the command manually in the override of OnItemSelected.

Relevant log output

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions