Fix: zoomOptions prop override not working due to hardcoded values
Đang mở
- 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
Đánh giá
Issue này chưa được đánh giá.