javascript-tutorial / javascript-tutorial/en.javascript.info

Bring comments into a scrollable section

未关闭
#3,803 1 条评论 2 个 reaction 已指派 0 人 在 GitHub 查看
主要语言
HTML
星标
25.5k
派生
4k
PR 合并指标
30 天内没有已合并 PR

描述

Some articles, like the old "var," may not be very attractive to read. We just know that 'var' should not be used, rather than reading a lot about it. However, one may intend to read it, especially when an interview is coming up.

Jumping into the article for the first time can feel overwhelming; it appears to be a long read because of the lengthy scrollbar.

![Image](https://github.com/user-attachments/assets/fb7ac654-40e7-4f34-a00c-dd1cec04c79a)

But actually it ends half way and the rest half of it are just comments.

![Image](https://github.com/user-attachments/assets/3e2269ad-4307-42ce-a334-56ea7cf4d89c)

The feature request is to place the comments in a scrollable section so that the page's scrollbar accurately reflects the length of the article.

贡献指南

这个仓库没有索引到贡献指南

调研方向

首先检查文章页面布局和评论渲染,然后复现旧版 "var" 文章中的长滚动条。完成的标准是:评论占据独立的可滚动区域,并且页面滚动条反映文章内容,而不是完整的评论列表。

由索引模型根据 Issue 内容生成。

评估

技术栈
html
领域
frontend
Issue 类型
功能
难度
3/5
预计耗时
1-2 天
活跃度
停滞
描述清晰度
基本清楚
新手友好度
45/100

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。