Settings

Theme

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

mappedin.ca

13 points by bhouser 2 years ago · 8 comments

Reader

bhouserOP 2 years ago

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

  • jeresuikkila 2 years ago

    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 2 years ago

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

  • bhouserOP 2 years ago

    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 2 years ago

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

  • bhouserOP 2 years ago

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

csa11 2 years ago

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