-
Notifications
You must be signed in to change notification settings - Fork 12
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
feat(menu): move focus into menu on open (VIV-2196) #2033
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #2033 +/- ##
===========================================
Coverage 100.00% 100.00%
===========================================
Files 123 364 +241
Lines 1562 8026 +6464
Branches 108 1145 +1037
===========================================
+ Hits 1562 8026 +6464
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
@@ -730,19 +761,6 @@ describe('vwc-menu', () => { | |||
|
|||
expect(item1.expanded).toBe(false); | |||
}); | |||
|
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.
why is this test not needed any more?
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.
Submenus now close because focus moves out of them. So the code in the component to close other submenus isn't needed anymore and this corresponding test doesn't make sense anymore
No description provided.