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

Bring comments into a scrollable section

Open
#3,803 1 comment 2 reactions 0 assignees View on GitHub
Dominant language
HTML
Stars
25.5k
Forks
4k
PR merge metrics
No merged PRs in 30d

Description

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.

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by inspecting the article page layout and comment rendering, then reproduce the long scrollbar on the old "var" article. Done means comments occupy their own scrollable section and the page scrollbar reflects the article content rather than the full comment list.

Written by the indexing model from the issue text.

Assessment

Tech stack
html
Domain
frontend
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.