box / box/box-annotations

scrolling by touchscreen is not working after draw annotation

Open
#683 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
TypeScript
Stars
12
Forks
53
Avg merge
18h 53m
Merged PRs (30d)
10

Description

**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](https://github.com/box/box-annotations/files/6105087/box_annotate_touchscreen.zip)

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.