Titanium JIRA Archive
Appcelerator Community (AC)

[AC-5594] ios tab navigation window stack swipe left on root buggy behaviour

GitHub Issuen/a
TypeBug
Priorityn/a
StatusResolved
ResolutionInvalid
Resolution Date2018-02-12T16:29:54.000+0000
Affected Version/sn/a
Fix Version/sn/a
Componentsn/a
Labelsn/a
ReporterAnthony Chung
AssigneeShak Hossain
Created2018-02-12T12:13:43.000+0000
Updated2018-02-12T16:29:54.000+0000

Description

Swiping left on the root window of a tab with a window navigatonwindow stack, causes app problems. This looks to be a ios tab/navigationwindow wide problem. The below video has similar issues on other frameworks, with objective c related code. We likely need to expose disabledbackgesture so we can put these on the root windows. And yes, I do realise that the following is react-native, and this is Titanium, but the ios wide bug is the same. https://github.com/wix/react-native-navigation/issues/428 https://github.com/wix/react-native-navigation/pull/872 Please test. My env. is 7.0.2.GA. iOS, with a tab that opens windows in a stack.e.g.
		$.index.activeTab.open(_controller);

Comments

  1. Hans Knöchel 2018-02-12

    Please attach a Titanium related test-case and video to demonstrate the issue. It's not possible to compare the two issues in this context due to different architectures and functionalities. Titanium addressed many of the issues other frameworks have in the past simply by being around longer but may have issues they do not have, so a Titanium test case would help to see the actual issue. Thanks! *EDIT*: Are you sure you don't just mean the existing [swipeToClose \[true/false\]](http://docs.appcelerator.com/platform/latest/#!/api/Titanium.UI.Window-property-swipeToClose) property? Because that's what the linked pull request also does (using gestureRecognizerShouldBegin:). It was added to Titanium in 5.2.0, around 2015. Try it out! :-)
  2. Anthony Chung 2018-02-12

    You're awesome [~hknoechel]! That is exactly the exposed property I was looking for. Didn't realise it was called that. I was hunting for disabledback equivalents. This solves the issue for me. Thank you!
  3. Hans Knöchel 2018-02-12

    Thanks [~threethirds], happy to help! Resolving ticket.

JSON Source