Skip to content

Instantly share code, notes, and snippets.

@jocki84
jocki84 / README.md
Last active Oct 29, 2020 — forked from hsablonniere/README.md
scrollIntoViewIfNeeded 4 everyone!!!
View README.md

Polyfill for scrollIntoViewIfNeeded()

This gist provides polyfill code for the [scrollIntoViewIfNeeded()][SIVIN] Element method found on WebKit browsers.

Features

There is no particular requirement on the position in the hierarchy of the

You can’t perform that action at this time.