In new version React throw warnings if you try to add unknow props for in DOM Element. (https://github.com/facebook/react/releases/tag/v15.2.0)
If I pass https://github.com/facebook/react/releases/tag/v15.2.0 property for example, I had this React warning:
warning.js:44 Warning: Unknown prop `hideTracksWhenNotNeeded` on <div> tag. Remove this prop from the element. For details, see https://fb.me/react-unknown-prop
in div (created by Scrollbars)
I use this plugin in the sidebar of my project and then the warning appears on every page of my site! help!!! In my opinion it's easy to fix, just check the props passed to the component and then apply only those legal properties to the DOM element. Hope author fix this and I will appreciate your work very much!
Thx for reporting! Fixing this should be easy. I'm currently busy, but I think I'll release a new version next week with this issue fixed.
Looks like if someone uses ShadowScrollbars example 'onUpdate' prop also needs to be definited.
index.js:8624 Warning: Unknown prop onUpdate on <div> tag. Remove this prop from the element. For details, see https://fb.me/react-unknown-prop
Hey @malte-wessel, do you need any help to release the v4?
Nice job @malte-wessel! Thanks a lot! :heart: :dancer: :sparkles:
Most helpful comment
Thx for reporting! Fixing this should be easy. I'm currently busy, but I think I'll release a new version next week with this issue fixed.