We have a webview where the scrolling worked fine.
But when we add this code:
web_content.addEventListener('swipe', function(e) { var swipe_town_name; swipe_town_name = central.nextSwipeTown(name, e.direction); // alert("swipe_town_name:" + swipe_town_name); Ti.App.fireEvent('openTown', { townName : swipe_town_name }); });The scrolling stops working. Why would an event listener affect the scrolling?
Any work around for this, as we need to swipe in new content into the webView, and have scrolling of the content?
Specs:
Studio: 3.14
SDK: 3.1.3.GA
OS: Mac OS 10.9
Mode: Classic App