• Robert Knight's avatar
    Create `scrollElementIntoView` wrapper around smooth-scrolling logic · dbbecf46
    Robert Knight authored
    Extract the logic for smoothly scrolling an element into view into the
    scrolling utility module, in preparation for adding a workaround for an
    issue with XHTML documents. This will also provide a place to configure
    common defaults and enable us to swap out the underlying implementation
    more easily in future.
    dbbecf46
scroll.js 2.33 KB