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

iOS: keyboardToolbar disappears after multiple displays

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Critical
    • Resolution: Fixed
    • Affects Version/s: None
    • Component/s: iOS
    • Environment:

      Description

      Expectation

      Expect keyboardToolbar to appear every time keyboard is shown.

      Demonstration Video

      http://screencast.com/t/6ReuzfPS

      Reality

      keyboardToolbar does not appear every time keyboard is shown. In the demo video, it occurred on the second iteration. This is not a constant, as it may not do it for 3 or 4 openings.

      Testcase

      var mainWindow = Titanium.UI.createWindow({ 
          backgroundColor:'#fff'
      });
        
      var textfield = Ti.UI.createTextField({keyboardType: Ti.UI.KEYBOARD_NUMBER_PAD, returnKeyType: Ti.UI.RETURNKEY_DONE, backgroundColor: '#262626',  border: 1, width: 100});
      var toolbarDone = Ti.UI.createButton({systemButton: Titanium.UI.iPhone.SystemButton.DONE});
      var flexSpace = Titanium.UI.createButton({systemButton : Titanium.UI.iPhone.SystemButton.FLEXIBLE_SPACE});
      toolbarDone.addEventListener('click', function(){
                  textfield.blur();
                  
              });
      textfield.keyboardToolbarColor = '#80c342';
      textfield.keyboardToolbar = [flexSpace, toolbarDone];
       
      mainWindow.add(textfield);
       
       
      mainWindow.open();
      

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                srahim Sabil Rahim
                Reporter:
                sfeather Stephen Feather
                Reviewer:
                Pedro Enrique (Inactive)
              • Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Backbone Issue Sync

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

                    Git Source Code