The best React custom scrollbars component
Loop controller rewritten;
Fix: https://github.com/xobotyi/react-scrollbars-custom/issues/10 Fix: invalid classnames added to elements;
Custom classnames passed to component now can only be strings.
Added TS type declarations;
Fix: default styles fix for RTL direction;
Performance improved a bit;
Fix: prop-types
added to peer-dependencies (https://github.com/xobotyi/react-scrollbars-custom/issues/5);
Fix: native scrollbars displayed when content does not overflow (https://github.com/xobotyi/react-scrollbars-custom/issues/6);
rtl
property);momentum
property);Component has been fully rewritten.
98% tests coverage;
Fixed bug: thumb was unable to reach the track end;
Fixed bug: dragging was not working when start offset is 0;
Fixed bug: onUpdate callback was never called;
Code from ComponentWillUpdate()
is moved to componentDidUpdate()
;