1. #1
    Sencha User
    Join Date
    Sep 2010
    Posts
    18
    Vote Rating
    0
    avishek1 is on a distinguished road

      0  

    Default textarea docked over form in android phone after scrolling

    textarea docked over form in android phone after scrolling


    Hello,

    Textarea not working in android phone. I have used textarea under formpanel. Problem is that when I
    entered some text on textarea and scroll with the panel, It docked over the panel and not scrolled with the panel.

    Here is my code,

    ------------------------------------------------------------------------------------------------

    {
    xtype: 'fieldset',
    defaults: {
    labelWidth: '40%',
    },
    items: [{ xtype: 'textareafield',

    id:'txtid',
    name: 'task[description]',
    style: 'height:150px;',
    maxLength : 60,
    maxRows : 20,
    label: 'List Description'
    }]
    },

    -----------------------------------------------------------------------------------------------
    If there is any solution, please reply me as soon as possible!

    Thanks,

  2. #2
    Sencha User siebmanb's Avatar
    Join Date
    Aug 2011
    Location
    Geneva (CH) - Grenoble (FR)
    Posts
    253
    Vote Rating
    15
    siebmanb will become famous soon enough

      0  

    Default


    Up!

    I have the same kind of problem : if I display a MessageBox, the text area stays over it !

    Thanks

  3. #3
    Sencha User
    Join Date
    Jun 2011
    Posts
    93
    Vote Rating
    3
    eyepoker is on a distinguished road

      0  

    Default


    @ siebmanb

    Thats because the text field has focus, or at least i have seen this occur when a field had focus. You have to blur it to prevent what you are describing.

    If you gave the text field an id you can do

    Ext.getCmp('myText').blur();

    or i suppose this will work too:

    document.getElementById('myText').blur()

  4. #4
    Sencha User
    Join Date
    Oct 2010
    Location
    Knoxville, TN
    Posts
    133
    Vote Rating
    1
    Kcarpenter is on a distinguished road

      0  

    Default


    I am having the same issue. Focus a textfield or textarea field, hide the pane; and the text area is still floating above everything until I tap it.

    I have tried bluring it and focusing other els and still can't get it figured out any ideas?

Similar Threads

  1. How to simulate slide transition on Android phone?
    By locutusUT in forum Sencha Touch 1.x: Discussion
    Replies: 3
    Last Post: 26 Jul 2011, 7:03 AM
  2. Application goes to freeze in Android Phone
    By avishek1 in forum Sencha Touch 1.x: Discussion
    Replies: 0
    Last Post: 26 Dec 2010, 8:35 PM
  3. Android Phone Issue
    By avishek1 in forum Sencha Touch 1.x: Discussion
    Replies: 0
    Last Post: 24 Dec 2010, 2:00 AM
  4. Android scrolling broken in .99?
    By profunctional in forum Sencha Touch 1.x: Discussion
    Replies: 0
    Last Post: 7 Nov 2010, 7:48 PM
  5. Replies: 3
    Last Post: 8 Sep 2010, 4:13 PM

Thread Participants: 3