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 还没有评估数据。