Skip to content

doc: remove scroll up when highlighting text #53594

Closed
@KostiantynO

Description

@KostiantynO

Affected URL(s)

https://nodejs.org/docs/latest/api/stream.html

Description of the problem

Hello!
I have experienced a bug with docs:
When I try to select a code snippet, the scrolling goes up very fast.

Highlight any text with mouse:

  • Hold down left mouse button
  • Start selecting text on the page
  • Move cursor above the 50% of the window height

Current result: it selects unwanted information above the highlighted part of text, because of excessive scrolling up.
Expected result: It only selects the highlighted text.

Selecting text in Node.js docs send scroll up to the moon

This decreases the usability of the docs significantly, because I can only read them, and cannot reliably copy any text I want to select.

Such problem does not exist in react docs.
But in node.js it does exist, and such inconsistency is unacceptable UX.

Suggesting: Node.js do have a very large pages. Maybe it will be better to split them into smaller sections for better usability.

System:
OS: Windows 10 Home 22H2 (OS build 19045.4529)
Browser: Chrome Version 126.0.6478.116 (Official Build) (64-bit)

Metadata

Metadata

Assignees

No one assigned

    Labels

    docIssues and PRs related to the documentations.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions