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

iOS: ScrollView scrolls to the top when typing text to TextArea

    Details

    • Type: Bug
    • Status: Open
    • Priority: Critical
    • Resolution: Unresolved
    • Affects Version/s: Release 4.1.1, Release 6.1.0, Release 6.1.1
    • Fix Version/s: None
    • Component/s: iOS
    • Environment:

      Ti SDK 6.1.0.GA and 6.1.1.GA
      Appcelerator Command-Line Interface, version 6.2.2
      iOS device: iPhone 5s(10.3.2)

      Description

      ScrollView scrolls to the top when typing some text to a TextArea. To be more specific when some key is pressed TextArea will show the last added letter and then it will scroll to the top. See end of the attached video when I am trying to type a word... It keeps going up and down. Also TextArea shouldn't be under a keyboard.

      var win = Ti.UI.createWindow({
          backgroundColor: "black"
      });
       
      var scrollView = Ti.UI.createScrollView({
          width: Ti.UI.FILL, height: Ti.UI.FILL,
          contentWidth: Ti.UI.SIZE, contentHeight: Ti.UI.SIZE
      });
       
      var textArea = Ti.UI.createTextArea({
          width: Ti.UI.FILL, height: Ti.UI.SIZE,
          suppressReturn : false,
          scrollable: false,
          borderWidth: 1,
          borderColor: "red",kjh
          top: 0
      });
       
      scrollView.add(textArea);
       
      win.add(scrollView);
      win.open();
      

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                vijaysingh Vijay Singh
                Reporter:
                sko Matej
              • Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:

                  Backbone Issue Sync

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

                    Git Source Code