mardi 25 mars 2014

Field focus lost even though the field is still active

Fiddle:

Affects:

  • ExtJS 4.2.1 (Gray theme)

  • Firefox 28.0 (firebug 1.12.7)


Reproduce steps:

  • open the fiddle in firefox

  • open firebug to be able to see "console.log" calls

  • run the fiddle

  • move the window; e.g. 100 px to the right

  • (note that as soon as you move the window, "blur" event gets fired)

  • type in the trigger field: 42

  • press TAB key to focus the "city" field


Problem:

  • TAB key did not fire the "blur" event

  • notice in the console: field.hasFocus is false while document.activeElement is triggerfield inputEl


Note:

  • Chromium 33.0.1750.152 works as expected

  • after you move the window, trigger field gets the focus again

  • after the TAB key, "blur" event gets fired as expected


Possibly related to:





Aucun commentaire:

Enregistrer un commentaire