NotionX / NotionX/react-notion-x

PDF content display bug

Open
#411 0 comments 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

Description

The PDF content doesn't display from the first page.Official react-notion demo with pdf doesn't display from the frist page and I can't scroll it to the first page.
Offical demo
截屏2022-12-06 01 55 30

I find it caused by the display of the pdf asset, I will create a PR to solve this bug.

Notion Test Page ID

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 issue in the linked official react-notion demo and inspect the PDF asset display path. Done means the PDF renders from its first page and can be scrolled back to that page.

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
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.