Grouped tab - search handler issue #20217
Labels
area-controls-shell
Shell Navigation, Routes, Tabs, Flyout
platform/android 🤖
platform/windows 🪟
t/bug
Something isn't working
Milestone
Description
The following code is from the .net maui samples repo.
Issue: dotnet/maui-samples#424
Link to sample "Xaminals" is attached.
The app uses Shell navigation.
Every page in this example has its own search handler configuration.
The issue occurs only for the grouped tab "Domestic" that has two tabs "Dogs" and "Cats".
Issue: The first page to load is "Cats", now when I switch to tab "Dogs" and search for dogs, I get cats!
When I put a breakpoint inside the
OnQueryChanged
method, I can see that the search handler is actually thecats' search handler from the previous tab "Cats".
Steps to Reproduce
1.) Run the app => VS F5
2.) Switch to
Dogs
page.3.) Search for "Ben"
4.) Search result shows cats instead of dogs.
It can also happen that you go to another animal catergory and go back to dogs and it suddenly it works.
Or you come back to cats and and your search shows dogs.
Link to public reproduction project repository
https://github.com/dotnet/maui-samples/tree/main/8.0/Fundamentals/Shell
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
Android, Windows, I was not able test on other platforms
Affected platform versions
No response
Did you find any workaround?
no
Relevant log output
No response
The text was updated successfully, but these errors were encountered: