Open
Description
Description
The Focused and Unfocused events are never raised in a SearchBar on Windows. I thought maybe it was going to be fixed by #27577 but it is not.
Steps to Reproduce
- Add a SearchBar with Focused and Unfocused event handlers
- Run and observe that the event handlers are never triggered
See attached video
WinSearchFocus.mp4
Link to public reproduction project repository
https://github.com/DennisWelu/WinSearchFocus
Version with bug
9.0.50 SR5
Is this a regression from previous behavior?
Yes, this used to work in .NET MAUI
Last version that worked well
8.0.100 SR10
Affected platforms
Windows
Affected platform versions
No response
Did you find any workaround?
No known workaround