Menu

#233 caller = container & IE nativeEvents in suggestionBox

open
widgets (92)
5
2008-12-05
2008-12-05
No

If caller = container in suggestionBox (and maybe some other widgets) most nativeEvents don't get called in IE.

This happens because DOM.getParent(sender.getElement()) in NativeEvents.fireEvent returns null. So GWanted.fireEvent in gwanted.js stops at if (element).

And that happens because if caller = container the DOM ends up as <input...><span></span></input>, where sender is the span. IE does not "see" input as the span's parent as, though it may sound ironic, input is infertile (it can't have children).

Discussion


Log in to post a comment.

MongoDB Logo MongoDB