Uploaded image for project: 'Titanium SDK/CLI'
  1. Titanium SDK/CLI
  2. TIMOB-18379

iOS8: Option Dialog iPad no longer fires click when clicked outside

    Details

    • Type: Bug
    • Status: Closed
    • Priority: High
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: Release 3.5.1, Release 4.0.0
    • Component/s: iOS
    • Labels:
    • Environment:

      iOS8
      Titanium SDK 3.5.0.GA

    • Story Points:
      5
    • Sprint:
      2015 Sprint 01 SDK

      Description

      Issue Description

      When using the 3.5.0.GA TiSDK and iOS 8 if you open an option dialog and then click outside of the dialog it does not fire the dialogs clicked event. When using the 3.4.1.GA TiSDK and iOS 8 it does fire this event.

      Test Case

      (function() {
      	var myWindow = Ti.UI.createWindow({
      		height : Ti.UI.FILL,
      		width : Ti.UI.FILL,
      		backgroundColor : 'blue'
      	});
       
      	myWindow.open();
       
      	var dialog = Ti.UI.createOptionDialog({
      		cancel : -1,
      		options : ["YES", "NO"],
      		selectedIndex : 1,
      		destructive : 1,
      		title : "Option Dialog"
      	});
      	dialog.addEventListener('click', function(e) {
      		Ti.API.error("dialog clicked!!");
      		if (e.index === 0) {
      			Ti.API.error("Index 0");
      		}
      	});
      	dialog.show();
      })();
      

      Steps to replicate
      1. Build with 3.4.1.GA TiSDK, launch on iPad.
      2. Click anywhere outside of the dialog, notice that the click event is fired.

      Then

      1. Build with 3.5.0.GA TiSDK, launch on iPad.
      2. Click anywhere outside of the dialog, notice that the click event is NOT fired. EXPECTED: The click event fires when the user clicks outside of the dialog.
      Additional Details

      On iOS 7 with the 3.5.0.GA TiSDK the dialogs click event is fired. This issue is only present on iOS 8.x.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                vduggal Vishal Duggal (Inactive)
                Reporter:
                egomez Eduardo Gomez (Inactive)
                Reviewer:
                Jon Alter
              • Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Backbone Issue Sync

                  • Titanium SDK/CLI <> Titanium Mobile
                    Synced with:
                    TIMOB-19600
                    Sync status:
                    ERROR
                    Last received:
                    Last sent:

                    Git Source Code