Skip to content
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

Merged
merged 4 commits into from
Nov 28, 2024

Conversation

RichardHelm
Copy link
Contributor

No description provided.

Copy link

codecov bot commented Nov 27, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 100.00%. Comparing base (d61b119) to head (d918e09).
Report is 1186 commits behind head on main.

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     
Flag Coverage Δ
unittests 100.00% <100.00%> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@@ -730,19 +761,6 @@ describe('vwc-menu', () => {

expect(item1.expanded).toBe(false);
});

Copy link
Contributor

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?

Copy link
Contributor Author

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

@RichardHelm RichardHelm merged commit 74134fd into main Nov 28, 2024
15 checks passed
@RichardHelm RichardHelm deleted the VIV-2196-menu-focus-management branch November 28, 2024 14:15
@github-actions github-actions bot mentioned this pull request Nov 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants