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

Warning: Unknown props in console #39

Closed
rlebosse opened this issue Jul 11, 2016 · 5 comments
Closed

Warning: Unknown props in console #39

rlebosse opened this issue Jul 11, 2016 · 5 comments

Comments

@rlebosse
Copy link

I followed the instructions of the example implementation in https://github.com/danielstocks/react-sortable, I have the following warning in the Chrome console :

Warning: Unknown props `updateState`, `items`, `draggingIndex`, `sortId`, `outline`, `item`, `isDragging` on <div> tag. Remove these props from the element. For details, see https://fb.me/react-unknown-prop

React-sortable works great but I wondered if there is a way to avoid this warning?

Thanks !

@datOneperson
Copy link

I'm getting the same thing

@ladas-larry
Copy link
Collaborator

It is fixed in master branch, you can ignore the warning for now.
Please wait a couple of days for the release.

@dzhangw7
Copy link

dzhangw7 commented Nov 10, 2016

I'm still getting the same thing with the latest version (v1.2.0):

Warning: Unknown props``field``,``onDelete``,``index``,``draggingIndex``,``onHoverPathChange``on <div> tag. Remove these props from the element. For details, see https://fb.me/react-unknown-prop

@shiyuegongsui
Copy link

shiyuegongsui commented Mar 16, 2018

I'm still getting the same thing with the latest version (v2.0.0):
Warning: Unknown props ``item``, ``items`` on <li> tag. Remove these props from the element. For details

@daanishnasir
Copy link

daanishnasir commented Mar 22, 2018

Is there not a way to pass down additional props into the li element? For instance I need to pass down a unique ID to each li element

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

No branches or pull requests

6 participants