Hybrid View

    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
    stan229 is on a distinguished road

      0  

    Default TextArea loses cursor on FormPanel scrolling

    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 - Senior Forum Manager mitchellsimoens's Avatar
    Join Date
    Mar 2007
    Location
    Gainesville, FL
    Posts
    37,647
    Vote Rating
    899
    mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute

      0  

    Default


    I can reproduce this using Chrome but not iOS 5 (iOS Simulator and iPhone 4S). What did you test on?
    Mitchell Simoens @SenchaMitch
    Sencha Inc, Senior Forum Manager
    ________________
    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
    stan229 is on a distinguished road

      0  

    Default


    Here it is using the iOS simulator