-
-
Notifications
You must be signed in to change notification settings - Fork 32.3k
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
Warning "Unknown prop nestedLevel
on <div> tag"
#6403
Comments
The same issue happens if you put Divider in the nestedItems: <List>
<Subheader>Nested List Items</Subheader>
<ListItem
primaryText="Inbox"
leftIcon={<ContentInbox />}
initiallyOpen={true}
primaryTogglesNestedList={true}
nestedItems={[
<Divider key={0}/>,
<ListItem
key={1}
primaryText="Starred"
leftIcon={<ActionGrade />}
/>,
]}
/>
</List> |
#5019 |
Thx :) I'll try it ASAP |
@daralion Unfortunately if I try that with the Divider I get him without error messages to the nested items but he becomes then ListItem behaviors like changing background color on hover and beeing selectable/touchable. |
I'm not sure about the style, but the hover can be disabled by setting the disabled attribute to true in the ListItem. |
Same here.
Workaraound from @daralion worked for me |
@TarikHuber We have been porting the component on the v1-beta branch. We have reimplemented it from the ground-up. We encourage people starting with Material-UI to go with v1-beta. The master branch is in a low maintenance mode. We don't plan any work on it. However, we still do our best to review and merge pull requests that fix bugs on this branch. |
@olivertassinari thank you 😄 We will use the beta version for our new project and see how it works out. Unfortunatelly our production project needs some other libraries that are not prepared for the V1. But as we did with react 16 we will try to make as much PRs as possible to migrate the projects. Thank you again for your time and this awesome project 😄 |
Problem description
Warning "Unknown prop
nestedLevel
onMinimally-working code that reproduces the issue
Versions
The text was updated successfully, but these errors were encountered: