Xcode 开发人员文档链接悬停跳转到顶部 [英] Xcode Developer Documentation Link Hover Jumps To Top

查看:23
本文介绍了Xcode 开发人员文档链接悬停跳转到顶部的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

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:

  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!

这篇关于Xcode 开发人员文档链接悬停跳转到顶部的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆