Results 1 to 2 of 2

Thread: Elements in background get unintended focus

  1. #1
    Sencha User
    Join Date
    Oct 2012
    Vote Rating

    Default Unanswered: Elements in background get unintended focus

    This problem is really driving me crazy. When I have an element in front of another element (can really be anything, such as a textfield, hyperlink or button), and the front element is clicked away / dismissed, the background element instantly get's focus/fired. So when dismissing the MessageBox in the example below, I instantly get the keyboard popped up and the textfield is focussed.

    I've had this problem also with a hyperlink, being instantly opened in a browser window. Strangely enough this doesn't occur in Google Chrome on PC, but it does on Android and iOS.

    View this senchafiddle on Android / iOS, and see what I mean:!NxY8s/

    Any ideas on this? Thanks in advance for your help!

  2. #2
    Sencha - Sr Software Engineer mitchellsimoens's Avatar
    Join Date
    Mar 2007
    Gainesville, FL
    Vote Rating


    Just tried the example in iOS Simulator using iOS6 and it didn't focus on the textfield.
    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

    Think my support is good? Get more personalized support via a support subscription.

    Need more help with your app? Hire Sencha Services

    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.

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