Skip to content

On state change, scroll to top #2135

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
riyunoa opened this issue Jul 27, 2015 · 3 comments
Closed

On state change, scroll to top #2135

riyunoa opened this issue Jul 27, 2015 · 3 comments

Comments

@riyunoa
Copy link

riyunoa commented Jul 27, 2015

I'm not sure if it's something I'm doing wrong, but when I click on ui-sref links, the the page doesn't scroll to the top. How would I configure it so that when the state is changed, you're at the top of the page?

Thanks in advance!

@eddiemonge
Copy link
Contributor

take a look at #2134 . If that doesn't solve your problem, try asking this on stackoverflow.

@jamesplease
Copy link

fwiw React's router has the native scroll behavior down.

@eddiemonge
Copy link
Contributor

closing due to inactivity from op

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

3 participants