Scroll Behavior Polyfill Versions Save

A polyfill for the 'scroll-behavior' CSS-property

v2.0.13

4 years ago

v2.0.12

4 years ago
  • chore(lint): fixes lint 49c17a4
  • fix: anchor detection if the link also contains a path fails. Closes #9 4b14f30

https://github.com/wessberg/scroll-behavior-polyfill/compare/v2.0.11...v2.0.12

v2.0.11

4 years ago
  • fix(declarations): marks declarations as a module to help with async imports. Closes #8 ac1e99e

https://github.com/wessberg/scroll-behavior-polyfill/compare/v2.0.10...v2.0.11

v2.0.10

4 years ago
  • fix(bug): makes it possible to use the polyfill without native WeakMap support 012b486

https://github.com/wessberg/scroll-behavior-polyfill/compare/v2.0.9...v2.0.10

v2.0.9

4 years ago
  • fix(bug): fixes an issue when using this polyfill along with css-scroll-snap. Closes #5
  • feat(node): makes it possible to parse and evaluate the polyfill in a non-browser environment without errors. Closes #7 c50582b

https://github.com/wessberg/scroll-behavior-polyfill/compare/v2.0.8...v2.0.9

v2.0.8

4 years ago
  • fix(typings): fixes issue that would lead to Typescript errors due to global namespace annotations 75fd236

https://github.com/wessberg/scroll-behavior-polyfill/compare/v2.0.7...v2.0.8

v2.0.7

5 years ago
  • build(npm): updates dependencies 45593dc
  • fix(bug): fixes an issue where anchor scrolling could lead to the wrong coordinates under some circumstances 2f399f4

https://github.com/wessberg/scroll-behavior-polyfill/compare/v2.0.6...v2.0.7

v2.0.6

5 years ago
  • style(format): updates Prettier config 74bfcf4
  • docs(readme): updates logo height in README 2b226db
  • docs(readme): updates logo height in README d386fc0

https://github.com/wessberg/scroll-behavior-polyfill/compare/v2.0.5...v2.0.6

v2.0.5

5 years ago
  • style(lint): fixes linting issue 50a0db4
  • docs(readme): updates README with a logo, TOC, and other things. Adds Prettier eda99b5

https://github.com/wessberg/scroll-behavior-polyfill/compare/v2.0.4...v2.0.5

2.0.3

5 years ago

v2.0.3

This version brings several improvements:

Support for scrollTop and scrollLeft setters

First, the setters on Element.prototype for 'scrollLeft' and 'scrollTop' now works with the polyfill. If an element is within a scrolling box with a scroll-behavior of 'smooth', using these setters will now trigger smooth scrolling between the start and end positions.

Support for unified Scrolling APIs on Element interface

Additionally, part of the CSSOM View Module enhancements to the Element interface is proper standardizations of Element.prototype.scroll, Element.prototype.scrollTo, Element.prototype.scrollBy, and Element.protoype.scrollIntoView.

These methods are all polyfilled with fallbacks for a unified scrolling API across browsers.

Bug fixes

Finally, a few bugs have been fixed