-
Notifications
You must be signed in to change notification settings - Fork 601
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: Support "Grouped" Menu Items #6729
Conversation
"comment": "Feat: support grouped menu-items", | ||
"packageName": "@microsoft/fast-foundation", | ||
"email": "[email protected]", | ||
"dependentChangeType": "patch" |
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.
prerelease?
* check if the item is a grouped menu item | ||
*/ | ||
protected isGroupedMenuItemElement = (el: Element): el is HTMLElement => { | ||
return (el.getAttribute("role") as string) === "group"; |
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.
Do you need to cast to string?
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.
Ran it, seems good.
Closing this, due to #6951 we are only putting in fixes or critical features. |
Pull Request
π Description
This PR adds support for grouping menu-items.
π« Issues
π©βπ» Reviewer Notes
π Test Plan
β Checklist
General
$ yarn change
Component-specific
β Next Steps