anaralabs / anaralabs/lector

Fix: zoomOptions prop override not working due to hardcoded values

未關閉
#51 0 則留言 0 個 reaction 已指派 0 人 在 GitHub 檢視
主要語言
TypeScript
星號
395
分支
39
平均合併
7 小時 7 分鐘
30 天內合併 PR
12

描述

The zoomOptions prop added in #41 isn't working as intended because values are being hardcoded in document.ts rather than being passed through to internal.ts where the defaults are handled.

Steps to reproduce:
1. Pass custom zoomOptions to Root component
2. Observe that minZoom remains at 50% regardless of prop value

Expected: Custom zoomOptions should override defaults
Actual: minZoom stuck at 50% due to hardcoding in document.ts

貢獻指南

開啟貢獻指南

評估

這個 Issue 還沒有評估資料。

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。