Titanium JIRA Archive
Appcelerator Community (AC)

[AC-2606] Android: WebView 'swipe' event is not getting triggered

GitHub Issuen/a
TypeBug
Priorityn/a
StatusClosed
ResolutionDuplicate
Resolution Date2013-04-05T07:38:37.000+0000
Affected Version/sn/a
Fix Version/sn/a
ComponentsTitanium SDK & CLI
Labelsandroid, swipe, webview
ReporterSoumya Kanti Kar
AssigneeShak Hossain
Created2013-04-05T07:26:40.000+0000
Updated2016-03-08T07:41:41.000+0000

Description

The 'swipe' event for the WebView has been registered but when the swipe event is done, it is not getting triggered. If it is changed from WebView to Window, then the gesture is getting detected, but the same is not hapenning in WebView.
var currentWindow = Ti.UI.createWindow({
    exitOnClose : true
});
 
var webview = Ti.UI.createWebView({
    url : 'http://google.co.in'
});
 
webview.addEventListener('swipe',function(e) {
	alert('<<Swipe>>');
});
 
currentWindow.add(webview);
currentWindow.open();

Comments

No comments

JSON Source