stein
1
Hi everyone,
I wanted to share a lightweight implementation of click-and-drag panning.
It uses the excellent Anvil Extras Augmentation module for mouse events.
Try it: https://recent-yawning-computer.anvil.app/
Clone link: Anvil | Login
Hope this is useful for someone.
9 Likes
stein
2
Updated to also work on mobile.
A detail to note is that it prevents the ‘pull-to-refresh’ gesture that would otherwise interfere with the custom dragging/panning.
3 Likes
Thank you. I was looking to acomplish something like that.