GitHub Issue | n/a |
Type | Bug |
Priority | n/a |
Status | Closed |
Resolution | Cannot Reproduce |
Resolution Date | 2016-03-10T17:30:42.000+0000 |
Affected Version/s | Appcelerator Studio 4.5.0 |
Fix Version/s | n/a |
Components | Alloy |
Labels | defect, ios, iphone |
Reporter | Sascha Brose |
Assignee | Aminul Islam |
Created | 2016-02-28T15:45:04.000+0000 |
Updated | 2016-03-10T17:30:42.000+0000 |
I am using a NavigationWindow for the iPhone / iPad version of my app. When I perform a "swipe to close" gesture on the app's base / home window the screen blocks and it's not possible do any other action.
Disabling "swipe to close" with setSwipeToClose(false) does not fix the issue.
Hello, I have tested that issue you reported. Swipe event is working as expected in home window using a NavigationWindow for the iPhone / iPad version of my app. You can take help [here](http://docs.appcelerator.com/platform/latest/#!/api/Titanium.UI.Window-property-swipeToClose). *Testing Environment:* Appcelerator Command-Line Interface, version 5.1.0 Titanium SDK Version:5.2.0 GA Platform: iOS Simulator: iphone 6/ iOS 8.0, iPad 2 / iOS 8.0 .*Test Code:*
*Test Result:*
*Steps to Test.* Firstly you have to create a project then copy the sample code and run the project. After running the project so you can see a gray color window and click on “ *Click here*” then blue color window will open. After open blue color window, You will swipe and click on “*Click here*"
Hi Aminul, thank you for your response. I tested the code you provided in a new project as suggested. But I am getting the same behaviour as in my project / app. I did the following actions:
Started app ->
Gray Window
is shownDid a swipe to close on
Gray Window
Clicked
Click here
onGray Window
-> Click event is fired butBlue Window
does not show up andClick here
is disabledHello, I have tested that issue you reported in my updated environment. It is working as expected. I provided my details below. Please provide your working environment details. *Test Environments:*
*Steps to Test.* Firstly you have to create a project and copy the sample code into your project and run the project. You can see a gray color window and click on “ Click here” it will open the blue color window. Here, You can swipe first and click on “Click here”. See the console to check the event fired.
Hi Mostafizur, please notice that you have to do a swipe to close on the
Gray Window
and click onClick here
afterwards to reproduce the issue. The test case you described (open theBlue Window
and swipe to close there) works for me too. But as I wrote, you have to do the swipe to close on theGray Window
even if you can't close this window like that, because it is the root window. I attached the project I tested the code you provided with (test.zip) as well as a screenshot after I did a swipe to close on theGray Window
and clicked onClick here
. As you can see,Click here
is disabled but theBlue Window
isn't opened. Here are my environment details: {noformat} Appcelerator Studio, build: 4.5.0.201602170831 Command-Line Interface, version 5.0.6 OS. Version = 10.11.3 Node.js Node.js Version = 0.12.7 npm Version = 2.11.3 Titanium SDKs 5.2.0.GA Simulator: iphone 5s / iOS 9.2 Java Development Kit Version = 1.7.0_79 / 1.8.0_40 (tested both) Xcode version 7.2.1 {noformat}Hello [~saschbro], I have tested the issue that [~mrahman] provided. I have followed your steps. After the app opens I did a swipe to close gesture in the first window (gray window) and then I click "click here" to open the second window (blue window). Here blue window opens as expected. Now, in the code if I set "swipeToClose : true" in the gray window in NavigationWindow. I can reproduce the issue that you described. But, If I set "swipeToClose : false", The issue did not occur. Here is my test environment