You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
console.error node_modules/jest-prop-type-error/index.js:8
Warning: React does not recognize the `scrollTop` prop on a DOM element. If you intentionally want it to appear in the DOM as a custom attribute, spell it as lowercase `scrolltop` instead. If you accidentally passed it from a parent component, remove it from the DOM element.
in div (created by Scrollbar)
in Scrollbar (created by Scrollbars)
...
Steps
<Scrollbar scrollTop={0}/>
Current behaviour
Warning displayed in console:
Expected behaviour
No warning in console.
JSFiddle
Not possible(?) as there's no UMD
react-scrollbars-custom
, but example with just<div/>
: https://jsfiddle.net/jtrmc6wz/Versions
react-scrollbars-custom
4.0.0-alpha.19
See also
#63 Fixed same issue with a different prop that should be consumed at the
Scrollbar
level.The text was updated successfully, but these errors were encountered: