JavaScript

Object doesn’t support property or method ‘scrollTo’

Even if Edge is not called Internet Explorer, it’s still basically IE. 🙁 And IEs don’t support scrollTo.

Don’t use scrollTo, use scrollLeft and scrollTop instead:

// No:
$container.scrollTo(x, y)

// Yes:
$container.scrollTop = y
$container.scrollLeft = x
Standard

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.