scrolling by touchscreen is not working after draw annotation

Aperta
#683 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
3/5
Tempo stimato
1-2 giorni
Idoneità per principianti
38/100
Tipo di issue
Bug
Chiarezza
Abbastanza chiara
Stato di attività
Ferma
Stack tecnologico
typescript
Ambito
frontend

Direzione di ricerca

Riproduci il problema in Chrome DevTools usando l’impostazione del dispositivo Laptop with touch, quindi esamina il flusso delle annotazioni intorno a Draw, Save e Done per la gestione dello scorrimento touchscreen. Done significa che lo scorrimento touchscreen funziona di nuovo dopo che un’annotazione Draw è stata salvata e completata, senza errori nella console.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

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

Lingua principale
TypeScript
Stelle
12
Fork
53
Merge medio
21h 52m
PR unite (30g)
21

Preparare l'ambiente

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di box/box-annotations

Tutte le issue di box/box-annotations

Issue simili

Altre issue su TypeScript

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.