Skip to content

Pagination fails for rows that span more than 1 page width #1

@emmannyyy

Description

@emmannyyy

Hey, first off, thanks for open-sourcing this! It's a really cool project, and I'm also stuck on trying to fix pagination for tables.. I haven't quite figured a solution, but if one day I do, I'll make a PR.

Pagination Bug for tables

Tables with rows that exceed a page height do not get properly flushed to the next page.

Expected Behavior

For rows that exceed a single page's height, ideally there would be a spacer inserted at the correct location, flushing down the contents of the node to the next page. (See picture attached)

Image

Current Behavior

The spacers are added at a suboptimal location that does not flush down the content nicely for editing in preview.

Steps to Reproduce

  1. Run demo locally or on site
  2. Create a 1x1 table, and type contents into the cell until the single cell exceeds the page's height

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