Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upGitHub is where the world builds software
Millions of developers and companies build, ship, and maintain their software on GitHub — the largest and most advanced development platform in the world.
Highlight destination identifier on in-page navigation #310
Comments
|
It tries to put the function at the top of the screen, but can't because the page is too short/your browser window is tall. So this only affects things in the bottom-most area as tall as your window. I agree it can be improved though. |
|
You're right. It tries to put the function at the top of the screen. That usually works until it doesn't, then I get this very painful confusion because the function is supposed to be at the top of the screen but its not there. That totally destroys my flow. Its not a pleasant experience. The UX should be consistent. This is broken. Highlighting the selected function makes the experience consistent. |
|
I think the solution here is to add some javascript to highlight the target identifier on navigation. Should be pretty straightforward. |
|
Taking a look at this |
|
Submitted a Pull Request #328 |
|
ok Thanks. I'm reviewing your pull request now. |
Highlight destination identifier on in-page navigation. #310
|
Should this be closed or is there more to do? |

Formed in 2009, the Archive Team (not to be confused with the archive.org Archive-It Team) is a rogue archivist collective dedicated to saving copies of rapidly dying or deleted websites for the sake of history and digital heritage. The group is 100% composed of volunteers and interested parties, and has expanded into a large amount of related projects for saving online and digital history.

Selecting a function only works on small screens.
Heres what I mean:
When I click on a function.

The godoc page takes me to that function's section. However the function I'm looking for is lost among the other functions.

This can be improved by making the selected function stand out.
