NotionX / NotionX/react-notion-x

Simple Table rows not rendering if the count is greater than 4

Open
#335 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
TypeScript
Stars
5.4k
Forks
645
PR merge metrics
No merged PRs in 30d

Description

Big thanks for maintaining this library!
There seem to be some issues with simple tables. Would it be possible to resolve those?

Description
  • Seems like the rows of a simple table are not being rendered if there are more than 4 rows.
  • Another issue with simple tables is that newlines are not respected within cells. Everything gets concatenated on a single line.
Notion Test Page ID

0f422ca9185a429fb9b23e4c6afba99a

Contributor guide

Open the contributing guide

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 simple-table cases from Notion page 0f422ca9185a429fb9b23e4c6afba99a. Trace the renderer used for simple tables and check both reported behaviors: rows beyond four should render, and newlines inside cells should remain visible. Done means both cases render correctly without concatenating cell content.

Written by the indexing model from the issue text.

Assessment

Tech stack
react, typescript
Domain
frontend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.