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

Fixes an MUI warning about conflicting menu props #848

Merged
merged 1 commit into from
Oct 27, 2022

Conversation

johnclary
Copy link
Member

@johnclary johnclary commented Oct 27, 2022

The ProjectTeamRoleMultiselect component had conflicting props:

Material-UI: You can not change the default `anchorOrigin.vertical` value 
when also providing the `getContentAnchorEl` prop to the popover component.
Only use one of the two props.
Set `getContentAnchorEl` to `null | undefined` or leave `anchorOrigin.vertical` unchanged. 

Discussion here.

@johnclary johnclary requested a review from chiaberry October 27, 2022 14:30
@johnclary johnclary merged commit 2608119 into main Oct 27, 2022
@johnclary johnclary deleted the jc-team-select-props branch October 28, 2022 02:32
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