Skip to content
This repository has been archived by the owner on May 4, 2020. It is now read-only.

Page Anchors #40

Open
rcomeau14 opened this issue May 16, 2018 · 3 comments
Open

Page Anchors #40

rcomeau14 opened this issue May 16, 2018 · 3 comments

Comments

@rcomeau14
Copy link

Right now if you navigate from one page to another it does not start you at the top of the page. Can we anchor pages to the top?

@Chromaticdeth19XX
Copy link

There seems to be a number of ways to cure this but not all of them are mobile compatible. I am reading through this github issue thread: angular/angular#7791. One of the more recent posts seems to address the handling of mobile and desktop views. I'm going to be working on this one.

@Chromaticdeth19XX
Copy link

Just pushed up some prototype code, we'll see what happens to the scroll behavior soon.

@Chromaticdeth19XX
Copy link

Erroneous behavior manifested as such: The user scrolls down the middle of the Full Directory page, the user clicks the About tab, and the About page loads at the same pixel coordinate as the Full Directory page. The same does not hold true for navigating to the middle of the About page and clicking over to the Full Directory page. The Full Directory page places the user at the pixel coordinate of (0,0) at the top of the page.

I have issued a fix that returns the user to the top of the About page after navigating the Full Directory page. It's a little crude but it works.

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

No branches or pull requests

2 participants