Xcode 开发人员文档链接悬停跳转到顶部 [英] 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.
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:
- The problem only occurs when hovering over the links in the Tasks section.
- 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!
这篇关于Xcode 开发人员文档链接悬停跳转到顶部的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!