-
-
Notifications
You must be signed in to change notification settings - Fork 248
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
Fixed group and submenu focus #671
Fixed group and submenu focus #671
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## master #671 +/- ##
=======================================
Coverage 99.57% 99.58%
=======================================
Files 27 27
Lines 713 718 +5
Branches 192 193 +1
=======================================
+ Hits 710 715 +5
Misses 3 3 ☔ View full report in Codecov by Sentry. |
@MadCcc I added fixes, please take a look. Thanks! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Rebase once for rerun ci please. |
@yoyo837 can we merge it? |
Thanks for your contribution. |
Fix focus for when the first menu is a group/sub-menu. The issue is with shouldFocusKey calculation, it should skip grouping since it is not focusable.
Related ticket: ant-design/ant-design#45367
fix ant-design/ant-design#45367
close #669