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

React v15 throws 'Unknown props' Warning #72

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

React v15 throws 'Unknown props' Warning #72

msmfsd opened this issue Jul 11, 2016 · 5 comments

Comments

@msmfsd
Copy link

msmfsd commented Jul 11, 2016

After upgrading react to 15.2.1 I get the following warning:

Warning: Unknown props `delta`, `onSwipingLeft`, `onSwipingRight`, `onSwiped`, `onSwipedLeft`, `onSwipedRight`, `flickThreshold`, `preventDefaultTouchmoveEvent`, `nodeName` on <div> tag. Remove these props from the element. For details, see https://fb.me/react-unknown-prop
    in div (created by Swipeable)
    in Swipeable (created by ImageGallery)
    in div (created by ImageGallery)
    in section (created by ImageGallery)
    in ImageGallery (created by MyComponent)
    in div (created by MyComponent)

Warning references: https://fb.me/react-unknown-prop
See following issues:
facebook/react#7163
mui/material-ui#4594

@xiaolin
Copy link
Owner

xiaolin commented Jul 11, 2016

@msmfsd Thanks, I will take a look at this when I get a chance.

@msn0
Copy link

msn0 commented Jul 12, 2016

Above warnings relates to react-swipeable and should be fixed right now in react-swipeable@3.5.1 https://github.com/dogfessional/react-swipeable/pull/44/files

These still remains:

Warning: Unknown props `activeDelay`, `classBase`, `handlers` on <span> tag. Remove these props from the element.

and we are waiting for JedWatson/react-tappable#79

@msmfsd
Copy link
Author

msmfsd commented Jul 12, 2016

Thanks @msn0 the swipable update has removed all warnings from the console for me with no side effects. Cheers.

@xiaolin
Copy link
Owner

xiaolin commented Jul 12, 2016

Thanks, will bump up the version for react-swipeable on the dependencies.

@xiaolin
Copy link
Owner

xiaolin commented Jul 13, 2016

bumped react-swipeable to 3.5.1 in v0.6.5

@xiaolin xiaolin closed this as completed Jul 13, 2016
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

3 participants