4 ms·
Why Panning and Zooming in a Web App Can't Be Perfect
- csa11 2y agoIncredible, thank you for sharing this.
- bhouser 2y agoI'm actually hoping I'm wrong about the inability to reliably distinguish between trackpad and mousewheel wheel events.
- jeresuikkila 2y agoSecretly 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."
- bhouser 2y agoWell, yes actually. Except unfortunatly, I think I'm right.
- beardyw 2y agoTouch events per se are not supported in Safari as far as know.
- bhouser 2y agoInteresting, 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 2y agoi.e. Web apps can’t poll at 1000Hz or even 240.
- bhouser 2y agoIs this an intentional browser API concession due to some polling limit? I don't see the connection?