In Chrome, you get the following warning when using the library:
[Violation] Added non-passive event listener to a scroll-blocking 'touchstart' event. Consider marking event handler as 'passive' to make the page more responsive. See https://www.chromestatus.com/feature/5745543795965952
When adding the touchmove event, we need to explicitly specify { passive: false } to fix this warning.
In Chrome, you get the following warning when using the library:
When adding the
touchmove
event, we need to explicitly specify{ passive: false }
to fix this warning.