Results 1 to 2 of 2

Thread: Elements in background get unintended focus

  1. #1
    Sencha User
    Join Date
    Oct 2012
    Posts
    2
    Vote Rating
    0
      0  

    Default 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: http://www.senchafiddle.com/full/!NxY8s/
    sourc: http://www.senchafiddle.com/#NxY8s

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


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

    Default

    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! Checkout the CODE tag!

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

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
  •