-
-
Notifications
You must be signed in to change notification settings - Fork 32.5k
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
[Menu] Having multiple menuItems adds inline width to MenuList #7266
Labels
bug 🐛
Something doesn't work
component: menu
This is the name of the generic UI component, not the React module!
Milestone
Comments
This piece of logic is here in order to handle scroll bar positioning issue. However, I'm wondering if that's really needed. Have you tried commenting the logic? |
but for now I just added the following code to fix it <Menu
id="choose-mobility-name"
anchorEl={this.state.anchorEl}
open={this.state.openMenu}
style={{
maxHeight:"inherit"
}}
MenuListProps={{
style:{
width: this.state.widthOfMenuItem
},
className:"sairam",
}}
> |
3 tasks
I have changed the behavior. Now the user style takes precedence over the internal scroll logic handling. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
bug 🐛
Something doesn't work
component: menu
This is the name of the generic UI component, not the React module!
I have found the following code in
menulist.js
, can I know why it exists ?The text was updated successfully, but these errors were encountered: