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
{{ message }}
This repository has been archived by the owner on Apr 12, 2024. It is now read-only.
Note that if you first visit http://docs.angularjs.org/api/ng, and then append #filter to the URL and press enter, the page then scrolls to that anchor. Perhaps this bug has to do with how the content on the ng page is loaded as compared to other pages.
Possibly related issues (hopefully this one isn't a dupe): #4262#2639
The text was updated successfully, but these errors were encountered:
it's not fixed yet because ng-include doesn't wait for it's nested templates to instantiate before calling autoscroll.
we can't fix this in the framework now (we should in the future), so we should just fix the directive that generates the table of contents to call autoscroll on its own when its template arrives.
When navigating to URLs such as
docs.angularjs.org/api/ng#filter, the browser
was not able to navigate to the named anchor,
"filter," because the anchor did not yet exist
in the DOM.
This fix uses the $anchorScroll service
to automatically scroll to the right place when
the content has been added to the page.
Fixesangular#4703
When navigating to URLs such as
docs.angularjs.org/api/ng#filter, the browser
was not able to navigate to the named anchor,
"filter," because the anchor did not yet exist
in the DOM.
This fix uses the $anchorScroll service
to automatically scroll to the right place when
the content has been added to the page.
Fixesangular#4703
jamesdaily
pushed a commit
to jamesdaily/angular.js
that referenced
this issue
Jan 27, 2014
When navigating to URLs such as
docs.angularjs.org/api/ng#filter, the browser
was not able to navigate to the named anchor,
"filter," because the anchor did not yet exist
in the DOM.
This fix uses the $anchorScroll service
to automatically scroll to the right place when
the content has been added to the page.
Fixesangular#4703
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
When visiting http://docs.angularjs.org/api/ng#filter, the browser does not autoscroll the page to the anchor.
This functionality does work on other pages, such as http://docs.angularjs.org/api/angular.Module#methods_config (that anchor link causes the page to scroll to the anchor as expected.)
Note that if you first visit http://docs.angularjs.org/api/ng, and then append #filter to the URL and press enter, the page then scrolls to that anchor. Perhaps this bug has to do with how the content on the ng page is loaded as compared to other pages.
Possibly related issues (hopefully this one isn't a dupe): #4262 #2639
The text was updated successfully, but these errors were encountered: