Skip to content

Instantly share code, notes, and snippets.

Avatar

AlexsanderAMcom

  • AMcom
  • São Paulo
View GitHub Profile
@AlexsanderAMcom
AlexsanderAMcom / README.md
Last active Sep 3, 2019 — forked from jocki84/README.md
scrollIntoViewIfNeeded cross-browser
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.