Please note, this is a STATIC archive of website developer.mozilla.org from November 2016, cach3.com does not collect or store any user information, there is no "phishing" involved.

asos-massimo

Member since
asos-massimo

Recent Docs Activity

View all activity
Page Date Comment

Element.scrollIntoViewIfNeeded()


I have tested this in chrome desktop and iOS Safari and on both of them calling the method without an argument is the same as calling it with true (i.e. centers the element on screen)