Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-13658] iOS: Window swipe event blocks touches in non-scrollable part of web view

GitHub Issuen/a
TypeBug
PriorityLow
StatusOpen
ResolutionUnresolved
Affected Version/sRelease 3.1.0
Fix Version/sn/a
ComponentsiOS
Labelsparity, reprod
ReporterEzoom Agency
AssigneeUnknown
Created2013-04-23T20:02:26.000+0000
Updated2018-02-28T20:03:51.000+0000

Description

*Problem description* If I have a swipe event attached to a container holding a webview, the nonscrollable part of the webview will not work. *Steps to reproduce* 1 - Compile to iOS simulator 2 - Try to click sign up yellow button (it won't work), or other part of the twitter header. 3 - Remove the "doSwipe" from the test case 4 - Test again and it will work *Test case*
function doSwipe(e) {
	Ti.API.info('e: ' + JSON.stringify(e))
}

var window = Ti.UI.createWindow();

window.addEventListener("swipe", doSwipe);

var webview = Ti.UI.createWebView({
	url : "https://twitter.com/appcelerator"
});

window.add(webview);
window.open();

Comments

  1. Ezoom Agency 2013-04-23

    Ok, this was easy to do so I tested without alloy, and yes the problem is there without alloy, same steps for testing. here is the code: app.js ============== function doSwipe(e) { Ti.API.info('e: ' + JSON.stringify(e)) } var window = Ti.UI.createWindow(); //THE BIG VILAIN window.addEventListener("swipe",doSwipe) var webview = Ti.UI.createWebView({ url:"https://twitter.com/appcelerator" }) window.add(webview) window.open();
  2. Daniel Sefton 2013-04-23

    Tested and confirmed on iOS 6 simulator, Ti SDK 3.1 GA. Not reproducible on Android, so it's iOS-specific.
  3. Ezoom Agency 2013-09-27

    Tested on 3.1.3GA and iOS7 and the bug still happens, any possible updates on this?
  4. Lee Morris 2017-06-21

    I am able to reproduce this issue with the following environment; iPhone 7 (10.2) Studio 4.9.0.201705302345 Ti SDK 6.1.1.v20170620103414 Appc NPM 4.2.9 Appc CLI 6.2.1 Ti CLI 5.0.13 Alloy 1.9.11 Arrow 2.0.0 Xcode 8.2 (8C38) Node v4.8.2 Java 1.8.0_131

JSON Source