Cursor position is wrong after right-click-drag to pan

Hey Piri, here’s my bug report from Discord.

If I use right-click and drag to move around, the cursor position drifts downwards, so clicks register above the cursor. Here’s a video to explain:

Repro steps:

  • Right click and drag to move around
  • Try hovering over some cards or boxes. You’ll notice the glove hand appear when the cursor is below the card, not on the card.
  • If it doesn’t work, keep moving around with right-click-drag until it shows up.

I’m using the most recent version of Safari.

1 Like

was also able to repro this using hold spacebar to and drag to pan

shockingly (/s) looks like this is related to a couple 15+ yr old webkit bugs (eg https://bugs.webkit.org/show_bug.cgi?id=4117) . looking into a workaround now

fix released. this was a weird one. You’ll notice in safari a tiny scroll shift (+/- 1-2px) after momentum panning completes. This is to force safari to recompute it’s own internal record of element positions