NodeBB / NodeBB/nodebb-plugin-customize

editor scroll sync: extra lines are unreachable

Open
#21 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
TypeScript
Stars
5
Forks
3
PR merge metrics
No merged PRs in 30d

Description

If you are editing a template and the edited content has more lines than the original, scroll sync makes it impossible to navigate to those extra lines—the browser scroll glitches back to match the final line number of the original content. Keyboard navigation doesn't work, either.

NodeBB 4.4.6
plugin 4.1.1
Tested in Chrome 138 and Firefox 141.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the issue in the template editor with edited content containing more lines than the original, using the reported browser versions if available. Trace the scroll-sync behavior and verify that the extra lines can be reached by scrolling and keyboard navigation without the browser jumping back to the original final line.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
frontend
Issue type
Bug
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.