Results 1 to 7 of 7

Thread: textfield focus on panel that is being set active

    This issue duplicates another issue.
  1. #1
    Sencha User
    Join Date
    Sep 2011
    Posts
    31
    Vote Rating
    0
      0  

    Default textfield focus on panel that is being set active

    My app has many panels with forms. When a user presses a button to go to the next panel, the text field on the panel that is in the same screen position as the button becomes focused automatically.

    I've found a workaround by disabling the field on the next panel, and enabling the field again after a 500 millisecond time delay.


    Brief:
    a text field is automatically focused on the panel that is being set active. this text field must be positioned in the same spot as the button that is pressed to set the panel active.

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

    Default

    Do you have a test case? Also does this happen on iOS, Android, Chrome, Safari?
    Mitchell Simoens @LikelyMitch
    Sencha Inc, Senior Software Engineer
    ________________
    Learn BBCode and use it! Checkout the CODE tag!

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

  3. #3
    Sencha User
    Join Date
    Sep 2011
    Posts
    31
    Vote Rating
    0
      0  

    Default test case

    This bug is happening all over my app, the real problem is that a touch event is being fired on a panel that is being set active.

    Download the AskFav NeighborFavor app from the app store. Signup, and when you're inside the app, go to the map (button in top left corner). Zoom out until you can see all of the western US and press the refresh button on bottom. Go back to the list (button in top left corner), and you should see a list of people. Click on the fourth list item, and the touch event will be fired on the panel that is being set active. Unfortunately, this will either call or text that person...

    This happens on ios and android. Running sencha-touch-all.js 2.0.1.1

  4. #4
    Sencha User
    Join Date
    Jul 2011
    Location
    Utrecht
    Posts
    84
    Vote Rating
    3
      0  

    Default

    Is it in any way related to this: Today 12:12 PM ?

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

    Default

    Quote Originally Posted by DJFliX View Post
    Is it in any way related to this: Today 12:12 PM ?
    Indeed, this sounds exactly like the same issue.
    Mitchell Simoens @LikelyMitch
    Sencha Inc, Senior Software Engineer
    ________________
    Learn BBCode and use it! Checkout the CODE tag!

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

  6. #6
    Sencha User
    Join Date
    Aug 2011
    Posts
    43
    Vote Rating
    1
      0  

    Default

    This bug is still present in 2.2

    Any idea when it will be fixed?

  7. #7
    Sencha User
    Join Date
    Aug 2011
    Posts
    43
    Vote Rating
    1
      0  

    Default

    The textfield receives focus again when the clearicon is taped.

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
  •