How to reproduce:
1. Open the “IN-99663_OnEndDrag” project
2. Open the “SampleScene”
3. Enter Play mode
4. Click on the Triangle with Left and Right mouse buttons simultaneously
5. Drag the Triangle
6. While holding the buttons, make the Editor lose focus by changing tabs (alt+tab)
7. Release the buttons and go back to the Editor
8. Observe the Game view and the Console
Expected result: Console logs “Drag ended with button: Left” and “Drag ended with button: Right” are present and Triangle is not following the mouse
Actual result: Console log for “Drag ended with button: Left” is missing and Triangle keeps following the mouse
Reproducible with: 2021.3.51f1, 2022.1.0a1, 2022.3.61f1, 6000.0.47f1, 6000.1.0f1, 6000.2.0a9
Reproducible on: macOS 15.4.1 (M1 Max), Windows 11 (by user)
Not reproducible on: no other environments tested
Note: Not reproducible while using the new Input System Component “Input System UI Input Module”