Skip to content

Releases: atomiks/elastic-scroll-polyfill

v2.1.0 - TypeScript rewrite

19 Mar 21:52
Compare
Choose a tag to compare

Features

  • Types declaration file

Fixes

  • Use passive event listeners for the wheel event
  • Disable previous instance if calling with the same target, overwrite with new instance

v2.0.0

23 Nov 05:10
Compare
Choose a tag to compare

Breaking changes

  • If you pass an Element as the target, the instance gets returned directly

Fixes

  • Avoid using innerHTML to copy the nodes into the wrapper, instead copy them over to preserve event listeners, etc.
  • Fix React reconciliation issues by ensuring you can optionally add the inner wrapper yourself

v1.0.0

06 Nov 19:42
Compare
Choose a tag to compare

Package renamed from elasticscroll.js to elastic-scroll-polyfill

  • Now supports x-overflow