Currently Element.prototype.scrollIntoViewIfNeeded is defined in webkit_dom.js. It is not standardized but will soon be available in most evergreen browsers except Firefox. Although @jDramaix indicates that Firefox may catch up soon in https://github.com/google/elemental2/issues/88#issuecomment-498464635.
It is a useful API and it may be useful to bring it through as it has wide usage or maybe we should wait until Firefox supports it.
Currently
Element.prototype.scrollIntoViewIfNeeded
is defined inwebkit_dom.js
. It is not standardized but will soon be available in most evergreen browsers except Firefox. Although @jDramaix indicates that Firefox may catch up soon in https://github.com/google/elemental2/issues/88#issuecomment-498464635.It is a useful API and it may be useful to bring it through as it has wide usage or maybe we should wait until Firefox supports it.