Closed oleksandr-danylchenko closed 1 month ago
Thanks - yes, that makes sense. The previous selection should clear as soon as you start the next, not after you complete it.
Another mobile quirk!
On iOS
the ordering is the same as on Android - the selection
comes after the pointer
events. BUTT! It fluctuates depending on where and how fast you click!
When you click over an annotation quickly - only pointerdown
/pointerup
are dispatched. But when slowly - all 4. When I tap over the textual content - all 4.
https://github.com/user-attachments/assets/cac92b06-5989-46d4-a7c8-9798723ea18f
Issue
Initially reported - https://github.com/recogito/text-annotator-js/pull/151#discussion_r1795661665
Can be reproduced in the playground:
https://github.com/user-attachments/assets/81bf9fc7-380d-4438-a81e-d0d6365b251d