kswedberg/jquery-smooth-scroll — Issue #18: Smooth Scroll Should ignore links to outside of the current page.
Author: elpargo
Created: 2011-11-10 01:15:11+00:00
State: open

We have an app where there is a menu that has links to inside the current page and to outside services. And we saw this behavior. If there was no scrolling needed the outside links will work fine. But if there is some scrolling needed Smooth Scroll will send you to the top of the page (and on a second click it will send you to the outside link).

We manage to get around this problem by using exclude/excludeWithin but IMO Smooth-scroll should realise this is an outside link and auto-exclude the links to other pages.