You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
#15 gave an initial implementation for scrolling that relies on an directive on element so scroll to that element.
This is due to the fact that it will be hard to determine when elements are loaded from a "state" perspective and even from a "view" perspective. Therefore it was necessary to provide scrolling at the right time (after DOM loading/rendering).
However, right now we could have duplicated anchors etc. causing for some unpredictable behavior (fairly sure it will go to the last element)
Instead we should just register these elements with the $scroll service so we can detect duplicates etc.
The text was updated successfully, but these errors were encountered:
#15 gave an initial implementation for scrolling that relies on an directive on element so scroll to that element.
This is due to the fact that it will be hard to determine when elements are loaded from a "state" perspective and even from a "view" perspective. Therefore it was necessary to provide scrolling at the right time (after DOM loading/rendering).
However, right now we could have duplicated anchors etc. causing for some unpredictable behavior (fairly sure it will go to the last element)
Instead we should just register these elements with the $scroll service so we can detect duplicates etc.
The text was updated successfully, but these errors were encountered: