Closed dy closed 4 years ago
To avoid unnecessary warning in console, this and all other touch event listeners can be modified to
window.addEventListener('touchstart', fn, hasPassive ? { passive: true } : false)
for hasPassive can a modernizr-like detector be used or has-passive-events package.
hasPassive
@chrisbateman ping
@dy I think this can be closed now, it looks like support was added in https://github.com/chrisbateman/impetus/commit/d5d023aa6085f5a46637f31bb823f94ac21cdac5
Great!
To avoid unnecessary warning in console, this and all other touch event listeners can be modified to
for
hasPassive
can a modernizr-like detector be used or has-passive-events package.