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

iOS7: keyboardToolbar disappears after focussing textField 2-3 times

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Low
    • Resolution: Duplicate
    • Affects Version/s: Release 3.1.3
    • Component/s: iOS
    • Labels:
      None
    • Environment:

      TiSDK 3.1.3.GA
      iOS 6 & 7

      Description

      Issue description

      This happens in both iOS 6 and 7 devices with Ti SDK 3.1.3.GA

      Steps to replicate

      To replicate focus the text field and then dispose the keyboard clicking the done button multiple times (it may require 2-3 times).

      Important: Reproducible only at device (iPhone 4 with iOS 7.0.3)

      Runnable sample

      var win = Ti.UI.createWindow({
      	backgroundColor : 'white'
      });
       
      var fixedSpace = Ti.UI.createButton({
      	systemButton : Ti.UI.iPhone.SystemButton.FIXED_SPACE,
      	width : 213
      });
      var doneButton = Ti.UI.createButton({
      	right : 10,
      	width : 85,
      	height : 30,
      	backgroundImage : 'global-btn-up.9.png',
      	color : 'Black',
      	font : {
      		fontSize : 14,
      		fontFamily : 'Helvetica Neue',
      		fontWeight : 'Bold',
      	}
      });
      doneButton.addEventListener('click', function(e) {
      	textField.blur();
      });
      var textField = Titanium.UI.createTextField({
      	borderStyle : Titanium.UI.INPUT_BORDERSTYLE_BEZEL,
      	hintText : 'Focus to see keyboard with toolbar',
      	keyboardToolbar : [fixedSpace, doneButton],
      	keyboardType : Ti.UI.KEYBOARD_NUMBER_PAD,
      	keyboardToolbarColor : '#999',
      	keyboardToolbarHeight : 40,
      	top : 10,
      	width : 300,
      	height : 35
      });
       
      win.add(textField);
      win.open(); 
      

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                srahim Sabil Rahim
                Reporter:
                egomez Eduardo Gomez (Inactive)
              • Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Backbone Issue Sync

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

                    Git Source Code