-
Notifications
You must be signed in to change notification settings - Fork 3k
Page jumps to top on state change #697
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Not currently, I think it is being triggered by $anchorScroll - https://github.com/angular-ui/ui-router/blob/master/src/viewDirective.js#L126 I imagine an opt out solution might be worthwhile |
We've wanted that for quite a while, its just always low priority. Feel free to make a PR! |
I think I might, actually. This is a "must-have" for my organization. |
Does anyone else wanna help out with a PR regarding this? I think what we really want here is to only reload the state views that have actually changed, while leaving everything else alone. It shouldn't be difficult to parse that out of absolute state strings, or child string notation. |
@thebigredgeek in the meantime you could do something like this: http://stackoverflow.com/questions/16821798/angular-disable-scroll-to-top-when-changing-view |
This can be closed as a PR has been implemented for this functionality |
Fixed in #715. |
For some reason, when I change a child state, it appears as though the entire browser re-renders, causing it to jump the scroll viewpane to the very top which is very disturbing. Is there a way to bypass this?
The text was updated successfully, but these errors were encountered: