1. #11
    Sencha User
    Join Date
    Jun 2012
    Posts
    7
    Vote Rating
    0
    DSKK is on a distinguished road

      0  

    Default


    This worked on IE 6 but did not work on IE 7 & 8.
    I am not sure what the problem is.

  2. #12
    Sencha - Support Team scottmartin's Avatar
    Join Date
    Jul 2010
    Location
    Houston, Tx
    Posts
    9,197
    Vote Rating
    482
    Answers
    690
    scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future

      0  

    Default


    My latest example tested fine on IE7 and IE8

    f222635-ie7.pngf222635-ie8.png

    Regards,
    Scott.

  3. #13
    Sencha User
    Join Date
    Jun 2012
    Posts
    7
    Vote Rating
    0
    DSKK is on a distinguished road

      0  

    Default


    Is there any other way to focus?

  4. #14
    Sencha User
    Join Date
    Jun 2012
    Posts
    1
    Vote Rating
    0
    parkere is on a distinguished road

      0  

    Default


    The problem only occurs when trying to change the focus from the blur event of the last enabled field on the form. (No buttons after it or anything else.) When you tab out of the last enabled field on the form, the focus goes to the address bar. Even though you issue the command to change the focus back to the field, the cursor gets stuck in address bar.

    I was able to create a workaround by creating a text field with width 0 as the last field on the form. Since this field has 0 width, it isn't visible and doesn't affect the functionality of the form. With this field in place, tabbing from the last field on the form would go to the 0-width text field instead of the address bar, and now the blur event is able to set the focus back to the field that fired the blur event.

Thread Participants: 2

Tags for this Thread