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

iPad - OptionDialog crash if modal window

    Details

      Description

      {html}<div><p>On iPad only, when an options dialog is showed, if the window is
      a modal window the app will crash.</p>
      <p>Sample code:</p>
      <pre>
      <code>var win = Titanium.UI.createWindow({ backgroundColor:'#f5dcd2' });

      var btn = Ti.UI.createButton({ height:50, width:200, title:'chick here' });

      var dialog = Titanium.UI.createOptionDialog({ options:['Save to Gallery', 'Email Photo', 'Share on Facebook', 'Cancel'], destructive:3, cancel:3, title:'Share This Photo' });

      btn.addEventListener('click', function(){ dialog.show(); });

      win.add(btn);

      win.open({modal:true});</code>
      </pre>
      <p>A helpdesk ticket (XJH-91382-789) encountered this problem.</p>
      <p>Tested on 1.6.1, 1.6.2, and 1.7.0<br>
      iPad Simulator 4.3</p></div>{html}

        Attachments

          Activity

            People

            • Assignee:
              blainhamon Blain Hamon
              Reporter:
              penrique Pedro Enrique (Inactive)
            • Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Backbone Issue Sync

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

                  Git Source Code