Please see the repro: https://codesandbox.io/p/sandbox/optimistic-buck-k6hfqz
If you click either blue or green square, the click work as intended. If during clicking you slide you pointer on the blue square for some pixels, it still works. But if you do pointerdown on blue, slide to green, and pointerup on green, click does not work. I think it should work cause we didn't left the blue square.