3

Variations of this question have been asked before (e.g. here and here), but with no conclusive answers yet.

Is there a way to get scroll events to trigger (and use these listeners to update the DOM) during the momentum/inertia/deceleration part of the scroll in a Cordova application built for IOS?

This article from 5.5 years ago outlines the issue, but that was 5.5 years ago. Surely there must be a work around right? Right??

Linus Juhlin
  • 1,175
  • 10
  • 31
tgordon18
  • 1,562
  • 1
  • 19
  • 31

1 Answers1

0

It looks like the best way to solve this problem is to install Apache's wkwebview plugin:

https://github.com/apache/cordova-plugin-wkwebview-engine

Adding that to my project caused the ('scroll') listener to fire events even during momentum scrolling

tgordon18
  • 1,562
  • 1
  • 19
  • 31