Skip to content

Page scrolls to top after keyboard-only interaction (Copy + Edit via F2 + Enter) β€” observed in v4 and v5Β #1761

@aravindps04

Description

@aravindps04

A user experience issue in Jspreadsheet CE (tested on both v4 and v5) where the screen scrolls to the top unexpectedly during keyboard-only operations.

πŸ”„ Steps to Reproduce
Navigate to a spreadsheet table with scrollable content.

  1. Select a cell or a column
  2. Press Ctrl+C to copy.
  3. Press F2 to enter edit mode.
  4. Press Enter to confirm the value.

πŸ§ͺ Observed Behavior
After pressing Enter, the page scrolls to the top β€” which disrupts user focus and context.
No error appears in the console.

βœ… Expected Behavior
The cell should update and focus should remain on the same row without affecting the scroll position.

πŸ” Additional Notes
This issue appears only when using the keyboard (no mouse interaction involved).
Similar issues have been reported earlier:
#980
We're currently unable to trace the exact cause but believe it's triggered internally during cell re-render or focus.

πŸ“¦ Environment
Library: Jspreadsheet CE v4 & v5
Browser: Reproducible on latest Chrome

Is this a known regression? Any workaround or fix suggestion would be appreciated.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions