sapper
sapper copied to clipboard
Use passive: true for touch events
trafficstars
Is your feature request related to a problem? Please describe. The problem is pretty much described here
Describe the solution you'd like
Add a third parameter to the addEventListener('touchstart', ...) here in the runtime
How important is this feature to you? It's a little performance improvement, and sometimes make the page run smoother. Not sure if it actually helps in Sapper applications, so it's not that important to me.
Additional context To support older browsers, you should use feature detection, which is a bit complicated. It's also described in the first link.
Sorry - misunderstood the issue here. Reopened!