Skip to content
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

Preserve scroll position #11

Open
dandv opened this issue Oct 8, 2012 · 4 comments
Open

Preserve scroll position #11

dandv opened this issue Oct 8, 2012 · 4 comments

Comments

@dandv
Copy link
Member

dandv commented Oct 8, 2012

To reproduce:

  1. Scroll down at https://atmosphere.meteor.com/ to a package at the bottom, say angularjs.
  2. Click on angularjs
  3. Go back in the browser.

Notice how the scroll position has been reset to top.

@tmeasday
Copy link
Member

Any thoughts on the best way to do this? Atmosphere is routed in a generic fashion right now so the list is re-drawn when you go back to it. So I think we'd have to store the scroll position in the URL?

@possibilities
Copy link
Member

Maybe it's not terrible to do a full page load when moving to a pkg page. Would solve this right?

@tmeasday
Copy link
Member

I suppose it would..

@Multiply
Copy link

Store which item you last clicked ie. in a #hashtag or by other means. When it's done loading check if the current page has a #hashtag, load last position.

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

4 participants