views:

22

answers:

1

I have a page with a Ext.form.ComboBox and a TinyMCE Editor, which uses an iframe for its body. The problem is that when the ComboBox has focus and the user clicks on the iframe, the ComboBox's blur event is not fired. If the user clicks back to the ComboBox, the focus event is also not fired. However, document.activeElement does change to the iframe and back to the ComboBox correctly. Has anyone else had this problem or know of a fix/workaround for it?

A: 

Does the editor fire a focus event that you can handle? You can call combo.blur() manually if you can figure out when that event should have happened. If you are able to tell that the activeElement changed, you should be able to manually blur the combo from the same code.

bmoeskau
I've tried calling combo.blur() and combo.getEl().blur(), but neither has any effect.
jwien001