Skip to content

Releases: rommguy/react-custom-scroll

Dev dependencies upgrade

21 May 14:20
Compare
Choose a tag to compare

ES7
Upgrade webpack and babel
Import the css
Create the css with webpack plugins
Refactor example code - JSX instead of React-templates, webpack 4, ES7

Double scroll solution (Chrome retina)

05 Mar 06:26
Compare
Choose a tag to compare

This is a major version, since it uses GPU rendering that might affect backwards compatibility
This version solves #35 , where Chrome on retina display had double scroll, by using translateZ css property

React 16 compatibility

18 Feb 09:39
Compare
Choose a tag to compare
v2.0.3

2.0.3

fix keepAtBottom

08 Nov 15:57
Compare
Choose a tag to compare

Fixes keepAtBottom bug, where the scroll would change if the content changed, without changing content size (for example collection of comments changes order)
Closed issue #30

v2.0.1

02 Jul 18:37
Compare
Choose a tag to compare

Bug fix - #29

ES6 classes + React 16 compatibility

08 May 09:23
Compare
Choose a tag to compare

This version supports React 15.5.0 and above.
Warnings from usage of createClass and React.PropTypes were cleaned.

Backwards compatibility

This version adds a peer dependency of React prop-types package.
I wrapped the require statement with a try-catch block, so it shouldn't break if you don't have prop-types.
However, the AMD tries to load prop-types when loading customScroll, so it will break without it.

In addition, without importing prop-types package, in all uses, you will not get prop types warnings for customScroll.

v1.10.1

04 May 13:01
Compare
Choose a tag to compare

Create a copy of customScroll.css in "dist" dir

Add keepAtBottom prop

28 Apr 06:19
Compare
Choose a tag to compare

This props supports dynamic content.
If true, the scroll position will stay at the bottom of the content, when the content size changes.
This only applies if the scroll was already at the bottom when the change happened.
#19

Add scrollTo prop support

14 Mar 10:27
Compare
Choose a tag to compare

As requested in issue #21 , scrollTo gets a number and scrolls the content to that scroll pos
Currently there is no safety checks, and that position can be any value.
It will only affect the render in which the prop changed.
The position isn't frozen.

Flex & RTL

15 Aug 06:07
Compare
Choose a tag to compare

Add optional props for flex size and right to left documents.