anaralabs / anaralabs/lector

Fix: zoomOptions prop override not working due to hardcoded values

Đang mở
#51 0 bình luận 0 reaction 0 người được giao Xem trên GitHub
Ngôn ngữ chính
TypeScript
Star
395
Fork
39
Merge trung bình
7 giờ 7 phút
Pull request đã merge (30 ngày)
12

Mô tả

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

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.