New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix: tray icon not highlighting on empty menu #34173
Conversation
1c9aba1
to
79c114f
Compare
79c114f
to
bb6d283
Compare
Release Notes Persisted
|
I have automatically backported this PR to "16-x-y", please check out #34205 |
I have automatically backported this PR to "17-x-y", please check out #34206 |
I have automatically backported this PR to "18-x-y", please check out #34207 |
I have automatically backported this PR to "19-x-y", please check out #34208 |
Description of Change
Closes #32111.
Ensures that the menu controller not only exists, but has a non-zero number of items before choosing to pass the click item to the superclass.
Regressed in 47a38da.
Checklist
npm test
passesRelease Notes
Notes: Fixed an issue where tray items wouldn't highlight in some scenarios on macOS.