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

iOS8: Alert dialog distortion on rotation

    Details

    • Type: Bug
    • Status: Closed
    • Priority: High
    • Resolution: Fixed
    • Affects Version/s: Release 3.4.0
    • Fix Version/s: Release 3.4.0, Release 3.5.0
    • Component/s: iOS
    • Labels:
    • Environment:
    • Story Points:
      5
    • Sprint:
      2014 Sprint 18 SDK

      Description

      To reproduce

      fromgit/titanium_mobile_tests_internal/FeatureTest/Map/module_map
      run 5275 test
      1. click any annotation, get an alert and rotate the device

      Actual result

      Alert dialog is cut off

      app.js

      var MapModule = require('ti.map');
      var win = Ti.UI.createWindow({
      	backgroundColor : 'white'
      });
       
      var latitude = 37.390749;
      var longitude = -122.08165;
       
      var annotations = [];
       
      for (var i = 0; i < 20; i++) {
       
      	var annotation = MapModule.createAnnotation({
      		latitude : latitude + (0.02 * i),
      		longitude : longitude - (0.02 * i),
      		title : "Annotation Test",
      		pincolor : MapModule.ANNOTATION_RED,
      		animate : true
      	});
       
      	annotations.push(annotation);
      };
       
      var map = MapModule.createView({
      	mapType : MapModule.NORMAL_TYPE,
      	region : {
      		latitude : latitude,
      		longitude : longitude,
      		latitudeDelta : 0.5,
      		longitudeDelta : 0.5
      	},
      	animate : false,
      	regionFit : true,
      	annotations : annotations
      });
       
      map.addEventListener('click', function(e) {
      	alert(e);
      });
       
      win.add(map);
       
      win.open();
      
      

      1. Install

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                vduggal Vishal Duggal (Inactive)
                Reporter:
                oromero Olga Romero
              • Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Backbone Issue Sync

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

                    Git Source Code