Button Focus and Unfocus can't fire when run on MacOS
- Dominant language
- C#
- Stars
- 23.3k
- Forks
- 2k
- Avg merge
- 1d 15h
- Merged PRs (30d)
- 290
Description
### Description
I created a MAUI button and tried to set Focus and Unfous events, but the events won't be fired on MacOS.
The button look like won't get focus if we use tab to shift focus, Click button also does not work.
### Steps to Reproduce
1. Create a new MAUI Project on MacOS,
2. Add a button with Focus and Unfocus events, and set event handler.
3. Run a application and shift focus with 'Tab'
### Version with bug
Release Candidate 1 (current)
### Last version that worked well
Unknown/Other
### Affected platforms
macOS
### Affected platform versions
MacOS 12.0.1
### Did you find any workaround?
_No response_
### Relevant log output
_No response_
### Depends on
- [x] https://github.com/dotnet/maui/issues/16330
Contributor guide
Research direction
Start by reproducing the issue in a new .NET MAUI project on macOS 12.0.1, using a button with Focus and Unfocus handlers and Tab navigation. Trace the macOS focus handling and review the linked dependency issue and closed pull request. Done means the button receives focus and both handlers fire when navigating with Tab and clicking.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- csharp, macos
- Domain
- desktop
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 25/100