`jumpToRect` jumps to the wrong page
Đ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ả
Using latest version of lib `"@anaralabs/lector": "^3.5.14"`
```
const { jumpToHighlightRects } = usePdfJump();
jumpToHighlightRects([rect], "percent", "center", 10);
```
calling `jumpToHighlightRects` with params of specific page eg:
```
{
pageNumber: 6
top: 10
left: 10
height: 10
width: 10
}
```
jumps to 8th page instead of 6th
Hướng dẫn đóng góp
Đánh giá
Issue này chưa được đánh giá.