Releases: bespoyasov/react-scroller
Releases · bespoyasov/react-scroller
v3.1.0
Add the "use client"
directive for RSC.
v3.0.1
The MIT license file was added.
v3.0.0
Fresh and fine-tuned component public API, more precise animation configuration.
Breaking Changes
- The
config
property is replaced with a set of props:scrollbar
,navigation
,align
,onItemClick
.
New Features
- The
duration
prop specifies animation duration when changing theposition
. - At the first render,
position
andduration
props describe start animation settings. - At the next renders,
position
andduration
describe thescrollTo
settings.
v2.0.0
Dependency refresh, upgraded Scroller use, performance and style improvements.
Breaking Changes
- Migrated to ES Module.
- Updated public API for the component config. For more info check out the migration guide in Scroller repo.
New Features
- Added
position
property to change Scroller's current position via props. - Added typings for the component.