Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Xcode Developer Documentation Link Hover Jumps To Top

I don't know how I got into this state, but the Xcode documentation window has been exhibiting this strange behavior of "jumping to top" whenever I hover over a link in one of the doc files.

For example, I'll be scrolling down to, say, the methods of a Class Reference, and as soon as I hover over one of them, the doc window jumps right back to the top.

Has anyone else encountered this? If so, is there a fix for within Xcode?

Meanwhile, opening up the doc in a browser works around the problem.

like image 672
Joe D'Andrea Avatar asked Aug 17 '09 16:08

Joe D'Andrea


1 Answers

Thanks for the replies everyone!

Meanwhile, I have just stumbled upon a workaround.

To preface, I have to clarify/correct two things for my particular case:

  1. The problem only occurs when hovering over the links in the Tasks section.
  2. The jump doesn't necessarily go to the top-of-page. Rather, it goes to wherever the original landing spot was when you opened the doc. (In URL parlance this is the fragment, e.g. #//apple_ref...).

On to the workaround:

In the Xcode doc viewer (and even in Safari), there should be a "Jump To..." drop-down in the "developer-documentation" window located to the right (and as a peer) of the "table of contents" expander when this problem occurs. You only need click on it once, dismiss it, and then the jumping problem goes away!

like image 106
Joe D'Andrea Avatar answered Nov 16 '22 19:11

Joe D'Andrea