Skip to content

Bug:First row is not fully visible when navigating up with keyboard if the first row contains merged cells #388

@f-sunwentao

Description

@f-sunwentao

Description

When the first row contains merged cells, using the keyboard Up Arrow to navigate to the first row does not correctly scroll the table, causing the first row to be partially hidden.

Steps to Reproduce
1. Use a table where the first row has merged cells
2. Scroll the table vertically so the scrollbar moves down
3. Use the Up Arrow key to navigate upward until reaching the first row
4. Observe that the first row is not fully visible

Expected Behavior

The table should automatically scroll so that the entire first row is fully visible when navigating to it with the keyboard.

Actual Behavior

The first row is partially hidden and not fully scrolled into view.

Reproduction

Official documentation example (first table):
https://jspreadsheet.com/docs/v11/merged-cells

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions