Building drag to pan

just shipped this out, i’ll make a marketing tweet for it tmrw

let me know how it goes, I can adjust the pan speed. right now it’s at 2 (so for every px you drag, it moves the page by at least 2x. In my testing that felt the closest to what figma does.

You’ll may also notice the cursor flickering on safari and ff, that’s a result of a lower system/app things (also happens on figma in these browsers). On chrome/vivaldi/edge you’ll see no cursor flicker.

2 Likes