Results 1 to 3 of 3

Thread: TextArea loses cursor on FormPanel scrolling

Hybrid View

Previous Post Previous Post   Next Post Next Post
    You found a bug! We've classified it as TOUCH-2821 . We encourage you to continue the discussion and to find an acceptable workaround while we work on a permanent fix.
  1. #1
    Ext GWT Premium Member
    Join Date
    Apr 2009
    Location
    NYC
    Posts
    112
    Vote Rating
    1
      0  

    Default TextArea loses cursor on FormPanel scrolling

    Sencha Touch version tested:
    • 1.1

    Platform tested against:
    • iOS 5
    • Google Chrome

    Description:
    • Scrolling on a FormPanel causes textarea fields to lose their cursor. The textarea field does not adjust its cursor offset and thus it looks like you're typing but the textarea isn't scrolling after the cursor.

    Test Case:
    Code:
        new Ext.Application({
                    launch : function() {
                        new Ext.form.FormPanel({
                            fullscreen : true,
                            scroll     : 'vertical',
                            items      : [
                                {
                                    xtype : 'textareafield',
                                    label : 'hello'
                                },
                                {
                                    xtype : 'textareafield',
                                    label : 'hello2'
                                },
                                {
                                    xtype : 'textareafield',
                                    label : 'hello3'
                                }
                            ]
                        })
                    }
                })
    See this URL : http:// Steps to reproduce the problem:
    • Scroll down the scroller
    • Begin typing into text area field and use newlines.

    The result that was expected:
    • Textarea would follow cursor.

    The result that occurs instead:
    • After your text begins to pass visible area, the textarea does not follow properly. The lower in the page the textarea is, the greater the gap between the cursor position and the internal textarea scroller offset.

    Screenshot or Video:

    Debugging already done:
    • none

    Possible fix:
    • not provided

  2. #2
    Sencha - Sr Software Engineer mitchellsimoens's Avatar
    Join Date
    Mar 2007
    Location
    Gainesville, FL
    Posts
    39,316
    Vote Rating
    1290
      0  

    Default

    I can reproduce this using Chrome but not iOS 5 (iOS Simulator and iPhone 4S). What did you test on?
    Mitchell Simoens @LikelyMitch
    Sencha Inc, Senior Software Engineer
    ________________
    Learn BBCode and use it!

    Check out my GitHub, lots of nice things for Ext JS 4 and Sencha Touch 2
    https://github.com/mitchellsimoens

    Think my support is good? Get more personalized support via a support subscription. https://www.sencha.com/store/

    Need more help with your app? Hire Sencha Services services@sencha.com

    Want to learn Sencha Touch 2? Check out Sencha Touch in Action that is in print!

    When posting code, please use BBCode's CODE tags.

  3. #3
    Ext GWT Premium Member
    Join Date
    Apr 2009
    Location
    NYC
    Posts
    112
    Vote Rating
    1
      0  

    Default

    Here it is using the iOS simulator


Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •