Skip to content

$uiViewScroll firing when ng-if evaluates to false #972

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

Closed
swudged opened this issue Mar 20, 2014 · 1 comment
Closed

$uiViewScroll firing when ng-if evaluates to false #972

swudged opened this issue Mar 20, 2014 · 1 comment

Comments

@swudged
Copy link

swudged commented Mar 20, 2014

I'm decorating $uiViewScroll and have noticed that when navigating away from a state, even if the ui-view with autoscroll has an ng-if that evaluates to false, $uiViewScroll is called again.

I've set up a plunker so you can take a look: http://plnkr.co/edit/lkh5S8uq3GOA28CFgnux

Could this be related to #881 ?

@eddiemonge
Copy link
Contributor

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants