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

[popover2] fix(ContextMenu2): allow content to be undefined #4701

Merged
merged 1 commit into from
May 6, 2021

Conversation

adidahiya
Copy link
Contributor

Changes proposed in this pull request:

content prop should be allowed to be undefined; this makes the migration from ContextMenuTarget easier. This was already being handled in the rendering code path, but just for safety, it's probably best for consumers to also set disabled={true} if content={undefined}.

@blueprint-bot
Copy link

[popover2] fix(ContextMenu2): allow content to be undefined

Previews: documentation | landing | table

@adidahiya adidahiya merged commit 4be55ee into develop May 6, 2021
@adidahiya adidahiya deleted the ad/context-menu2-allow-undefined-content branch May 6, 2021 21:56
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