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

iOS: Toggled action buttons display over keyboard

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Medium
    • Resolution: Fixed
    • Affects Version/s: Release 5.1.0
    • Fix Version/s: Release 5.2.0
    • Component/s: iOS
    • Labels:
    • Environment:
    • Story Points:
      3
    • Sprint:
      2015 Sprint 24 SDK, 2016 Sprint 3 SDK

      Description

      When all the action buttons are removed from above the keyboard and a keyboard button is pushed, the bar for the action buttons is hidden. If the action buttons are then toggled back on, they display on top of the keyboard. See attached gif:

      Example code:

      var showUndoRedoActionsField = true;
       
      var win = Ti.UI.createWindow({backgroundColor: "#fff",layout: "vertical"});
      var field = Ti.UI.createTextArea({width: 300,height: 50,top: 100,backgroundColor: "#f0f0f0",value: "Hello" ,showUndoRedoActions:true});
      var btn1 = Ti.UI.createButton({title: "Toggle field"});
       
      field.autocorrect = false;
      //field.showUndoRedoActions = showUndoRedoActionsField;
       
      btn1.addEventListener("click", function() {
          showUndoRedoActionsField = !showUndoRedoActionsField;
          field.showUndoRedoActions = showUndoRedoActionsField;
      });
       
      win.add(field);
      win.add(btn1);
      win.open();
      

      Steps to reproduce issue
      1. Launch an app using the above code on an iPad
      2. Click on the textfield
      3. Click the 'Toggle Field' button
      4. Click any key on the keyboard
      5. Click the 'Toggle Field' button

      Actual Results
      The action buttons are shown on top of the keyboard

      Expected Results
      The action button bar appears and contains the action buttons

      Notes
      This could be an iOS issue

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                apetkov Angel Petkov
                Reporter:
                ewieber Eric Wieber
                Reviewer:
                Chee Kiat Ng (Inactive)
              • Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Backbone Issue Sync

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

                    Git Source Code