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

      0  

    Question focus() event not firing for Selectfield (Ext.field.Select) in ST2 PR2

    focus() event not firing for Selectfield (Ext.field.Select) in ST2 PR2


    I have a form with text inputs and a select field. I have the problem that the on screen keyboard of the iPhone stays visible and covers the overlay of the selectfield.

    I was hoping to counteract this by hiding the keyboard by triggering blur() event on the text fields, however the selectfield does not fire the focus() event.

    I am using the following code. Here the show() event is fired but focus() is never fired, even after selecting an item in the list.

    HTML Code:
    {
        xtype: 'selectfield',
        name: 'rating',
        label: 'Rating',
        options: [
            {text: 'Three',  value: '3'},
            {text: 'Two', value: '2'},
            {text: 'One',  value: '1'}
        ],
        listeners: {
            focus: function() {
                console.log('focus');
            },
            show: function() {
                console.log('show');
            }
        }
    }
    Ext.field.Select API Documentation: http://docs.sencha.com/touch/2-0/#!/...t.field.Select

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


    I have moved this to the bugs forum and pushed into our bug tracker. Thank you.
    Mitchell Simoens @SenchaMitch
    Sencha Inc, Senior Forum Manager
    ________________
    Check out my GitHub, lots of nice things for Ext JS 4 and Sencha Touch 2
    https://github.com/mitchellsimoens

    Think my support is good? Get more personalized support via a support subscription. https://www.sencha.com/store/

    Need more help with your app? Hire Sencha Services services@sencha.com

    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.

  3. #3
    Sencha User
    Join Date
    Nov 2011
    Posts
    20
    Vote Rating
    0
    John2011 is on a distinguished road

      0  

    Question Not yet fixed in ST 2.0.0 PR3

    Not yet fixed in ST 2.0.0 PR3


    Thank you for fixing this, however I see that Sencha Touch 2.0.0 PR3 was released on the same day and this fix is not yet present in this release.

    Is there a workaround for the time being?

  4. #4
    Sencha Premium Member thomasqbrady's Avatar
    Join Date
    Feb 2012
    Location
    Austin, Tx
    Posts
    15
    Vote Rating
    0
    thomasqbrady is on a distinguished road

      0  

    Default


    I’m still seeing this in ST2 Commercial 2.0.0

  5. #5
    Sencha User Jamie Avins's Avatar
    Join Date
    Mar 2007
    Location
    Redwood City, California
    Posts
    3,661
    Vote Rating
    20
    Jamie Avins is a jewel in the rough Jamie Avins is a jewel in the rough Jamie Avins is a jewel in the rough

      0  

    Default


    Re-opening this issue.

    Sencha Inc

    Jamie Avins

    @jamieavins

  6. #6
    Sencha User
    Join Date
    Jan 2012
    Posts
    20
    Vote Rating
    0
    ASraniel is on a distinguished road

      0  

    Default


    Still an issue for 2.0.1. Is there a known workaround? i tried the events show and focus, but both dont fire when the selectfield is activated. I need it to hide the keyboard when using android phones.

  7. #7
    Sencha User
    Join Date
    Jun 2011
    Posts
    4
    Vote Rating
    0
    Arise is on a distinguished road

      0  

    Default


    Bumping this post, just like previous entry I can't blur the edit box which opened the soft keyboard on android.

    This is required on phones with the config option usePicker on true, false or auto.

    Neither option is usable if the soft keyboard is popped up or the edit box is on top of the select list hindering the selection.

  8. #8
    Sencha User
    Join Date
    Feb 2012
    Posts
    73
    Vote Rating
    1
    elad101 is on a distinguished road

      0  

    Default


    Hi,

    This Issue still exist in ST 2.1.0
    Any news with this issue?
    Is there any workaround?

  9. #9
    Sencha User
    Join Date
    Feb 2012
    Posts
    73
    Vote Rating
    1
    elad101 is on a distinguished road

      0  

    Default


    Hi,
    Can someone please pay attention to this issue?
    I checked the Release note and I found this:
    [TOUCH-1209] Fixed focus event not firing for Ext.field.Select
    This was supposed to be fixed on:
    Release Notes for Sencha Touch 2.0.pr4

    Still not fixed on ST 2.1.0
    Thanks.

  10. #10
    Sencha - Sencha Touch Dev Team rdougan's Avatar
    Join Date
    Oct 2008
    Posts
    1,158
    Vote Rating
    6
    rdougan will become famous soon enough

      0  

    Default


    This will be in the next beta of Sencha Touch 2.1.

    There are some difficulties with this functionality on a lot of mobile browsers, so it is not very consistent, especially on Android. It does however work well on iOS. This will be in the documentation (when released).
    Sencha Inc.
    Robert Dougan - @rdougan
    Sencha Touch 2 and Ext JS 4 Core Team Member, SASS/Theming Wizard.

Turkiyenin en sevilen filmlerinin yer aldigi xnxx internet sitemiz olan ve porn sex tarzi bir site olan mobil porno izle sitemiz gercekten dillere destan bir durumda herkesin sevdigi bir site olarak tarihe gececege benziyor. Sitenin en belirgin ozelliklerinden birisi de Turkiyede gercekten kaliteli ve muntazam, duzenli porno izle siteleri olmamasidir. Bu yuzden iste. Ayrica en net goruntu kalitesine sahip adresinde yayinlanmaktadir. Mesela diğer sitelerimizden bahsedecek olursak, en iyi hd porno video arşivine sahip bir siteyiz. "The Best anal porn videos and slut anus, big asses movies set..." hd porno faketaxi