anaralabs / anaralabs/lector

Default view not centered on load

未关闭
#121 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
主要语言
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):

Image

贡献指南

打开贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。