Bug Tracker

Modify

Ticket #11559 (closed bug: invalid)

Opened 14 months ago

Last modified 7 months ago

"Bugs with API site"

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

Description

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  http://dev.jquery.com/ instead of http://bugs.jquery.com/


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.

Change History

comment:1 Changed 14 months ago by ngharo@…

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

comment:2 Changed 12 months ago by mikesherov

  • Owner set to jdsharp
  • Priority changed from undecided to low
  • Component changed from unfiled to web

comment:3 Changed 12 months ago by dmethvin

  • Keywords needsdocs added
  • Status changed from new to closed
  • Resolution set to invalid

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

comment:4 Changed 7 months ago by mikesherov

  • Keywords needsdocs removed

no longer relevant.

Please follow the  bug reporting guidlines and use  jsFiddle when providing test cases and demonstrations instead of pasting the code in the ticket.

View

Add a comment

Modify Ticket

Action
as closed
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.