Skip to content

Fix PDF center tap controls#292

Open
codedogQBY wants to merge 1 commit into
mainfrom
feat/fix-pdf-center-tap-controls
Open

Fix PDF center tap controls#292
codedogQBY wants to merge 1 commit into
mainfrom
feat/fix-pdf-center-tap-controls

Conversation

@codedogQBY
Copy link
Copy Markdown
Owner

Summary

  • Map PDF iframe click coordinates back to the reader container before deciding click zones
  • Avoid sending an invalid left-edge fallback for fixed-layout pages
  • Guard fixed-layout location reporting before the first spread is ready

Fixes #291

Test

  • pnpm --filter app build
  • git diff --check

Note: pnpm exec biome check packages/app/src/components/reader/FoliateViewer.tsx packages/foliate-js/fixed-layout.js still reports existing lint debt in these files unrelated to this change.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Bug] PDF书籍阅读时有bug

1 participant