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 摘要。