# 关于头像滚动功能

**URL:** https://meta.discourse.org/t/relating-to-profile-picture-scroll-functionality/209869
**Category:** Bug
**Created:** [2021年十一月22日 17:41 UTC](https://meta.discourse.org/t/relating-to-profile-picture-scroll-functionality/209869 "2021-11-22T17:41:55Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![lucaviness](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/lucaviness/32/245089_2.png) [@lucaviness](https://meta.discourse.org/u/lucaviness)
#### Post date: [2021年十一月22日 17:41 UTC](https://meta.discourse.org/t/relating-to-profile-picture-scroll-functionality/209869/1 "2021-11-22T17:41:55Z")

</div>

在桌面端，当一个主题足够长时，OP 的头像会随着主题滚动，直到原始帖子的末尾。在此过程中可能会出现几个错误，如下所示。

**错误一：** 点击用户头像后，个人资料卡会部分隐藏在论坛菜单栏下方，如下图所示。

 ![Screen Shot 2021-11-22 at 9.27.18 AM](https://global.discourse-cdn.com/meta/original/3X/b/2/b2202630022f777ace79cf6d771af0ae5ced081f.jpeg)

* * *

**错误二：** 个人资料卡出现后，您可以将其滚动到一边，它会停留在其最初出现的位置，相对于帖子本身。我不确定这里的预期行为是什么，但我认为如果卡片随着帖子一起滚动，直到您点击它消失，那将是很好的。

 ![Screen Shot 2021-11-22 at 9.27.27 AM](https://global.discourse-cdn.com/meta/original/3X/3/6/3695d6f99413759c6794b3cb8f4822e86e07d07b.jpeg)

* * *

这里有一个主题示例，您可以在其中看到此现象：

> [@DiscoTOC - automatic table of contents](https://meta.discourse.org/t/discotoc-automatic-table-of-contents/111143):
>
> discourse2Summary DiscoTOC will allow you to generate an interactive table of contents for your topics with one click!eyeglassesPreview [Preview on Discourse Theme Creator](https://discourse.theme-creator.io/theme/Discourse/discotoc)hammer_and_wrenchRepository Link [https://github.com/discourse/DiscoTOC](https://github.com/discourse/DiscoTOC)open_bookNew to Discourse Themes? [Beginner’s guide to using Discourse Themes](https://meta.discourse.org/t/beginners-guide-to-using-discourse-themes/91966) Install this theme component Samples Desktop Mobile Features toc = table of contents Automatically generates the …
