Settings

Theme

Why Panning and Zooming in a Web App Can't Be Perfect

mappedin.ca

13 points by bhouser · 8 comments

Reader

4 threads
bhouserOP

I'm actually hoping I'm wrong about the inability to reliably distinguish between trackpad and mousewheel wheel events.

  • jeresuikkila

    Secretly hoping to take advantage of Cunningham's Law?

    "The best way to get the right answer on the Internet is not to ask a question; it's to post the wrong answer."

beardyw

Touch events per se are not supported in Safari as far as know.

  • bhouserOP

    Interesting, didn't know that! Wonder why they don't.

    My issue here is with wheel events. They look identical for trackpads and mice, so I can't code for different behaviour.

MichaelZuo

i.e. Web apps can’t poll at 1000Hz or even 240.

  • bhouserOP

    Is this an intentional browser API concession due to some polling limit? I don't see the connection?

csa11

Incredible, thank you for sharing this.

Keyboard Shortcuts

j
Next item
k
Previous item
o / Enter
Open selected item
?
Show this help
Esc
Close modal / clear selection