Default view not centered on load
未關閉
- 主要語言
- TypeScript
- 星號
- 395
- 分支
- 39
- 平均合併
- 7 小時 7 分鐘
- 30 天內合併 PR
- 12
描述
When initially loading and rendering a PDF, the default view looks off-center (to the right).
It's also a bit unclear what the default zoom level/aspect ratio is, as it doesn't necessarily fits a page height and the props only allow optionally fitting to page width.
Once you change zoom (after initial load) it centers it back.
You can observe this behaviour in Lector's own examples (as of today, 2026-05-15):
貢獻指南
評估
這個 Issue 還沒有評估資料。