Success! Looks like we've fixed this one. According to our records the fix was applied for TOUCH-4565 in a recent build.
  1. #1
    Sencha User
    Join Date
    Dec 2010
    Posts
    22
    Vote Rating
    0
    mvdbergh is on a distinguished road

      0  

    Default ST 2.2.1 - Cannot move cursor in TextField/TextAreaField in iOS

    ST 2.2.1 - Cannot move cursor in TextField/TextAreaField in iOS


    REQUIRED INFORMATION

    Sencha Touch version tested:
    • Sencha Touch 2.2.0 (does not have the issue described here)
    • Sencha Touch 2.2.1
    Browser versions tested against:
    • Safari Mobile
    Description:
    • When entering the content of a TextField or TextAreaField the contents cannot be changed as the positition of the cursor cannot be changed.
    Steps to reproduce the problem:
    • Add a TextField or TextAreaField to your application
    • Use an iPhone/iPad to open your application
    • Enter some text
    • Try to change the entered text in any other way than using backspace
    The result that was expected:
    • The cursor could be moved by tapping or holding the input area
    The result that occurs instead:
    • Cursor could not be moved, have to erase all the text up until the place you want to edit.
    Test Case:


    Code:
    Ext.Viewport.add({
        items : [
            {
                xtype : 'textareafield',
                value : 'blah blah blah'
            }
        ]
    });
    HELPFUL INFORMATION

    Debugging already done:
    • none
    Workaround:
    • Use version 2.2.0
    Operating System:
    • iOS 6.1.3
    Last edited by mitchellsimoens; 10 Jun 2013 at 6:15 AM. Reason: Explicitily mentioning iPhone/iPad, iOS version

  2. #2
    Sencha - Senior Forum Manager mitchellsimoens's Avatar
    Join Date
    Mar 2007
    Location
    Gainesville, FL
    Posts
    35,672
    Vote Rating
    747
    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


    Thanks for the report! I have opened a bug in our bug tracker.

  3. #3
    Sencha User
    Join Date
    Dec 2010
    Posts
    22
    Vote Rating
    0
    mvdbergh is on a distinguished road

      0  

    Default Workaround

    Workaround


    As we don't want to downgrade to 2.2.0 I've been looking for a workaround. This seems to work for me:
    Code:
    Ext.event.publisher.TouchGesture.prototype.isNotPreventable=/^(select|a|input|textarea)$/i;
    
    Last edited by mvdbergh; 25 Jul 2013 at 11:00 AM. Reason: Updated workaround

  4. #4
    Sencha User
    Join Date
    Apr 2013
    Posts
    1
    Vote Rating
    0
    ghoppermaster is on a distinguished road

      0  

    Default I am also affected by this issue...

    I am also affected by this issue...


    Hi there,

    Thanks for your suggested fix mvdbergh. Unfortunately it doesn't seem to work for me but I am a beginner and maybe have put the code in the wrong place? Where should I put the code you posted, could you please provide some further instructions? Thank you
    Code:
    Ext.event.publisher.TouchGesture.prototype.isNotPreventable = /(?:)/;


    Although I've just seen on top of the post that it's been fixed in a recent build, so I will try and see if I can download that build now.

  5. #5
    Sencha User
    Join Date
    Dec 2010
    Posts
    22
    Vote Rating
    0
    mvdbergh is on a distinguished road

      0  

    Default


    Hi ghoppermaster,

    After some testing we found some issues with the previous workaround I posted.

    This is an updated one:
    Code:
    Ext.event.publisher.TouchGesture.prototype.isNotPreventable=/^(select|a|input|textarea)$/i;
    
    I've put it in the "launch" function of my "Ext.application" file.

  6. #6
    Sencha User
    Join Date
    Nov 2012
    Location
    Cali, Colombia
    Posts
    16
    Vote Rating
    2
    csantos is on a distinguished road

      0  

    Default Chrome and Android Browser

    Chrome and Android Browser


    Hello,
    Does this solution solves the strange behaviors in Chrome and Android Browser?

    For example, en Android Browser you can move cursor in textfield. But when you selected some text, you cannot get the cursor again.
    César Augusto Santos Ramírez
    Ingeniero de Sistemas

  7. #7
    Sencha User efortes's Avatar
    Join Date
    Jun 2010
    Posts
    34
    Vote Rating
    2
    efortes is on a distinguished road

      0  

    Default


    This helped me allot. Thank you
    (I added this to the launch: Ext.event.publisher.TouchGesture.prototype.isNotPreventable = /^(select|a|input|textarea)$/i.

  8. #8
    Sencha User
    Join Date
    Feb 2013
    Posts
    4
    Vote Rating
    0
    stouch is on a distinguished road

      0  

    Default Cannot move cursor in Android devices - Nexus4 and S4

    Cannot move cursor in Android devices - Nexus4 and S4


    Hi,

    Is there a solution for Android devices? I cannot move cursor in TextField/TextAreaField in Android - Nexus 4 and Samsung Galaxy S4.

  9. #9
    Sencha User efortes's Avatar
    Join Date
    Jun 2010
    Posts
    34
    Vote Rating
    2
    efortes is on a distinguished road

      0  

    Default


    See my last post... add that to your application launch.

  10. #10
    Sencha User
    Join Date
    Feb 2013
    Posts
    4
    Vote Rating
    0
    stouch is on a distinguished road

      0  

    Default


    Hi efortes,

    I added that to launch function of my application. The fix is working in iOS but not in Android. Have you tested it in Android?

film izle

hd film izle

film sitesi

takipci kazanma sitesi

takipci kazanma sitesi

güzel olan herşey

takipci alma sitesi

komik eğlenceli videolar