This content has been marked as final.
Show 2 replies
-
1. Re: suggestionbox-can't focus fields with mouse after popup
knuwu Aug 16, 2007 11:38 AM (in response to knuwu)Sorry, this is a copy of the post in RichFaces User forum. I'm talking about the RichFaces component suggestion box.
The point to adress this forum is:
Seam is preconfigured to use RichFaces and it is a real nightmare to use something different!!! -
2. Re: suggestionbox-can't focus fields with mouse after popup
gabby Aug 17, 2007 9:13 AM (in response to knuwu)Finally we managed to solve this problem by changing some code in suggestionbox.js. We are now only focussing in 'onblur, if it's not an IE (starting at line 266):
if (RichFaces.navigatorType() != "MSIE") { offsets["x"] = 0; offsets["y"] = 0; if (event.clientX > offsets["x"] && event.clientX < (this.update.clientWidth + offsets["x"])) { if (event.clientY > (offsets["y"] - this.update.clientHeight) && event.clientY < offsets["y"]) { this.element.focus(); return; } } }
For us this works. Whether there are other issues now, I can't say. We are using the 3.0.1 Snapshot of Richfaces.
Havahappy
Matthias