NewYour coding agent can read the release notes before it upgrades.Set up the MCP server →
npm · #3237 most downloaded on npm
Ponyfill for upcoming Element.scrollIntoView() APIs like scrollMode: if-needed, behavior: smooth and block: center
Last release 3 years ago
no release in 18 months
Release timing varies
gaps range from 3 weeks to 11 months
Nearly every release is documented
notes for 59 of the last 60 stable releases
1 version withdrawn
withdrawn after publishing
10 years old
83 releases · first in 2016
This release is also available on:
One column per quarter.
This release is also available on:
This release is also available on:
support —moduleResolution node16 in compute-scroll-into-view
support —moduleResolution node16 (d9053bb), closes #1163
deps: update dependency compute-scroll-into-view to v3
This release is also available on:
deps: update dependencies (non-major)
make the generic param optional
deps: update dependency compute-scroll-into-view to ^2.0.2
This release is also available on:
drops umd builds, and ships more modern syntax with ESM as baseline
This release is also available on:
setup improved semantic-release
target attached logic for shadow dom element
deps: re-update dependency compute-scroll-into-view to v1.0.17
deps: update dependency compute-scroll-into-view to v1.0.17
## 2.2.26 (2020-09-02) ### Bug Fixes * TypeScript v4 compatibility
deps: update dependency compute-scroll-into-view to ^1.0.14
## 2.2.24 (2020-01-23) ### Bug Fixes * bump compute-scroll-into-view
signal to webpack that there's no side effects
## 2.2.22 (2020-01-03) ### Bug Fixes * 'instant' isn't in the spec
deps: scrollable if hidden by frame
contains check should work cross iframe boundaries
nearest: target that matches the scrolling frame height should scroll (#473) (8b70cc6), closes #432
deps: update dependency compute-scroll-into-view to v1.0.10
README: upgrade examples and links
body only counts as scrollable if documentElement is scrollable
deps: update dependency compute-scroll-into-view to v1.0.5
scrollMode: if-needed: multiple edge cases fixed
deps: update dependency compute-scroll-into-view to v1.0.3
compute: publish new version with compute library
## 2.2.10 (2018-07-03) ### Bug Fixes * readme: typos
scrollbars & block/inline:center, safari & window scrolling with custom behavior and bundlesize reduction
bundlesize: Reduced overall size by around 0.5kB
handle scrollbar widths correctly
deps: roll back dependency @babel/core to v7.0.0-beta.49
scrollMode: if-needed should handle negative offsets correctly
missing viewport.js file in publish
ci: ie and edge tests should be able to run
handle border widths and shadow dom
quirksmode: use document.scrollingElement when avilable
new skipOverflowHiddenElements boolean option (@icd2k3 #225)
compute: custom behavior lack block and inline defaults
## 2.1.6 (2018-05-07) ### Bug Fixes * typings: Improve TS typings
## 2.1.5 (2018-05-01) ### Bug Fixes * readme: gzip badge links
## 2.1.4 (2018-05-01) ### Bug Fixes * readme: add unpkg instructions
readme: API docs, migration guide from v1 and list breaking changes
## 2.1.2 (2018-04-29) ### Bug Fixes * safari
the "nearest" position is working properly
changelog: attempt to fix semantic-release
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
move animation code to smooth package
<a name="1.5.1"></a>
Your coding agent can read these notes before it upgrades. Set up the MCP server →