Menu on docs website goes crazy #253

Open
elclanrs opened this Issue Nov 5, 2012 · 2 comments

Projects

None yet

3 participants

@elclanrs
elclanrs commented Nov 5, 2012

I'm trying to learn Geddy with the excellent documentation on the official site, but no matter what browser I try, the menu that's supposed to be fixed goes crazy when clicking on it past a certain scroll size. It's easy to reproduce in Chrome and Firefox by just going to the docs, scrolling down and then try navigating with the menu. As soon as you click the menu will disappear and the only way to bring it back is to scroll all the way up again. I couldn't find any similar bugs open.

Edit: I recorded a little video https://www.youtube.com/watch?v=xFJKkHwqOE4

@snowblindroan

The menu is also very jittery in Chrome. The reason is that the top value is being reset for every scroll event https://github.com/mde/geddy/blob/master/site/public/js/site.js#L59

Should be able to switch the position to position:fixed and top:0, after newTop > 462 and then we probably wouldn't have either of the glitches that we are experiencing.

@Techwraith
Contributor

@Weltschmerz A pull request would definitely be accepted for this, but you'd have to make sure that it works with our responsive layout. Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment