In the new SelectionHandler such events as "releasing the Shift" or "releasing the handlebar" are considered as "selection finishing events". In both cases, the upsertCurrentTarget gets called almost immediately. However, a user can simply press Shift or tap over the handlebar, which will also lead to redundant updateTarget calls upon the initial creation.
Issue
In the new
SelectionHandler
such events as "releasing the Shift" or "releasing the handlebar" are considered as "selection finishing events". In both cases, theupsertCurrentTarget
gets called almost immediately. However, a user can simply press Shift or tap over the handlebar, which will also lead to redundantupdateTarget
calls upon the initial creation.Demo
Desktop
https://github.com/user-attachments/assets/d8362214-20c1-4e79-b4a1-6994bfc7aa63
Mobile
https://github.com/user-attachments/assets/cc2614c4-c239-4d27-8f90-0682b503733f