scrolling by touchscreen is not working after draw annotation

Đang mở
#683 0 bình luận 0 reaction 0 người được giao Xem trên GitHub

Maintainer thường phản hồi trong vòng 1 ngày

Chưa có ai nhận issue này.

Đánh giá

Độ khó
3/5
Thời gian dự kiến
1-2 ngày
Mức phù hợp với người mới
38/100
Loại issue
Lỗi
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Đình trệ
Công nghệ
typescript
Lĩnh vực
frontend

Hướng nghiên cứu

Tái hiện sự cố trong Chrome DevTools bằng cách sử dụng cài đặt thiết bị Laptop with touch, sau đó kiểm tra luồng chú thích xung quanh Draw, Save và Done để xử lý việc cuộn trên màn hình cảm ứng. Done có nghĩa là thao tác cuộn trên màn hình cảm ứng hoạt động trở lại sau khi một chú thích Draw được lưu và hoàn tất, không có lỗi trong console.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

Environment:

  • Preview version: 2.65.0

Desktop (please complete the following information):

  • OS: Windows 10
  • Browser: Chrome
  • Version: 89.0.4389.82

Smartphone (please complete the following information):

  • Device: iPad
  • OS: OS X
  • Browser: Safari and Chrome
  • Version:

Steps to reproduce the problem:
This was originally found on an iPad using annotation but can be reproduced on Chrome using the Developer Tools Device Toolbar (Ctrl + Shift + M) and selecting Laptop with touch. Note, do not use a mouse scroll wheel or a trackpad's 2 finger scrolling. You must use the mouse with button to simulate a touchscreen in the correct developer tools mode.

  1. Upload a .pdf, preferably one with multiple pages, to box
  2. Enable Chrome's developer tools
  3. Turn on the device toolbar (Ctrl + Shift + M)
  4. Change device to Laptop with touch
  5. Preview the uploaded .pdf
  6. Use the mouse to simulate touch and scroll up and down in the document >> works fine
  7. Enable annotation mode
  8. Use the mouse to scroll up and down >> still works
  9. Select the draw icon
  10. Draw something on the document, click Save and then Done
  11. Use the mouse to scroll up and down >> now it doesn't work

What is the expected behavior? (Screenshots can be helpful here)
Expected behavior is for scrolling using touchscreen to continue working.

What went wrong? (Screenshots, console logs, or HAR files can be helpful here)
Scrolling using touchscreen stopped working after performing a Draw annotation.

Additional context
There were no errors displayed in the console. Here is a HAR of the annotate action:
box_annotate_touchscreen.zip

Ngôn ngữ chính
TypeScript
Star
12
Fork
53
Merge trung bình
21 giờ 52 phút
Pull request đã merge (30 ngày)
21

Chuẩn bị môi trường

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của box/box-annotations

Tất cả issue của box/box-annotations

Issue tương tự

Thêm issue về TypeScript

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.