Skip to main content

Bug Tracker

Side navigation

#11559 closed bug (invalid)

Opened April 05, 2012 08:41PM UTC

Closed June 12, 2012 03:03PM UTC

Last modified October 15, 2012 08:20PM UTC

"Bugs with API site"

Reported by: Owned by: jdsharp
Priority: low Milestone: None
Component: web Version: 1.7.1
Keywords: Cc:
Blocked by: Blocking:

Table of contents pages snap to the top of the window when alt-tabbing or mousing back to the window, causing a reader to lose his place when reviewing the documentation.

This appears to be caused by the search control having focus, causing focus events to be triggered when the window regains focus, despite the user never intending to perform a search.

Clicking outside the search box to remove the focus restores sane behaviour.

Additionally, the bug tracker link at the bottom of the api page is broken, apparently pointing to instead of

Finally, overriding the arrow keys is a somewhat rude thing to do, especially when the end result performs much worse than the browser's default navigation.

Attachments (0)
Change History (4)

Changed April 05, 2012 08:45PM UTC by comment:1

Line 122 of navi.js catches focus to search input and calls $.navi.reset(). Line 32,33 of reset() sets scrollTop to 0.

Changed May 29, 2012 12:57AM UTC by mikesherov comment:2

component: unfiledweb
owner: → jdsharp
priority: undecidedlow

Changed June 12, 2012 03:03PM UTC by dmethvin comment:3

keywords: → needsdocs
resolution: → invalid
status: newclosed

Somewhat unconventional use of needsdocs but since this is the core bug tracker it isn't something that goes into jquery.js.

Changed October 15, 2012 08:20PM UTC by mikesherov comment:4

keywords: needsdocs

no longer relevant.