Skip to content

Clicking in a cell taller than the viewport jumps the scroll position to the top of the cell #14656

Closed

Description

@pramodit13

System details:

Positron and OS details:

Version: Positron Version: 2026.06.1 (system setup) build 6
Code - OSS Version: 1.111.0
Commit: 63f0568
Date: 2026-06-23T11:34:57-06:00 (1 wk ago)
Commit: 39.6.0
Date: 142.0.7444.265
Electron: 22.22.0
ElectronBuildId: 14.2.231.22-electron. 0
Chromium: Windows_NT x64 10.0.26200
Node.js: undefined
V8: undefined
OS: Windows
Editor: Positron Notebook Editor (.ipynb)

Session details:

python 3.13.10

Describe the issue:

When a notebook cell's content is taller than the visible editor viewport, clicking inside the cell to place the cursor causes the view to immediately scroll to the top of that cell. This discards the current scroll position, so if you were viewing/editing content near the middle or end of a long cell, you're thrown back up to the start of the cell and have to scroll back down to find where you were.

Steps to reproduce the issue:

  1. Open a notebook (.ipynb) in the Positron Notebook Editor.
  2. Create or open a code cell whose content is long enough to exceed the height of the visible editor area (taller than the monitor/viewport).
  3. Scroll down within the cell so you're viewing content partway through or near the end of the cell.
  4. Click anywhere inside the cell to place the cursor (e.g., at the end of a line near the bottom of the visible content).

Expected or desired behavior:

Clicking to place the cursor should keep the clicked line in roughly the same on-screen position — the view should not re-scroll unless the clicked position was actually out of view.

Were there any error messages in the UI, Output panel, or Developer Tools console?

No

Screen recording attached showing the behavior: cursor is positioned near the end of a tall cell, then clicking causes the view to jump to the top of the cell.

positron_cursor_at_end_of_cell_jumps_to_top_cell_view2.mp4

Activity

  1. austin3dickey commented on Jul 6, 2026

    @austin3dickey
    Contributor

    Hey @pramodit13, thanks for the issue. I think this may be really similar to #14085. Would you mind taking a look and adding a 👍 to that issue if it looks the same?

  2. added
    info needed
    on Jul 6, 2026
  3. self-assigned this
    on Jul 6, 2026
  4. positron-bot commented on Jul 9, 2026

    @positron-bot
    Contributor

    A fix for this issue has been implemented in the latest daily build of Positron. You can try it out in build number 2026.08.0-57 or higher, or wait for the next monthly release.

  5. added a commit that references this issue on Jul 12, 2026
    f39ff02
  6. locked as resolved and limited conversation to collaborators on Jul 24, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

info needed

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions