aspose file tools*
The moose likes JSF and the fly likes dropDownMenu z-index IE bug with RichFaces Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » JSF
Bookmark "dropDownMenu z-index IE bug with RichFaces" Watch "dropDownMenu z-index IE bug with RichFaces" New topic
Author

dropDownMenu z-index IE bug with RichFaces

Akaine Harga
Ranch Hand

Joined: Nov 03, 2009
Posts: 80

hi

There is a famous IE z-index bug affecting some elements generated by richFaces, like dropDownMenu for ex. when some elements (comboBox, fixed calendar, etc.) overlaps the drop-down menus. Officially RichFaces recognizes the bug and says to screw ourselves. I also know how to solve this in a normal html environment when I have access to every element. The problem is RichFaces which generates tons of additional stuff to render its components and direct CSS alteration through the template doesn't work.

Is there any proven jQuery/JS/CSS solution to this for RichFaces?

Wanna install linux on a vacuum cleaner. Could anyone tell me which distro sucks better?
willCodeForFood("Java,PHP,C#,XML,VBS,XHTML,CSS,JavaScript,SQL"); //always looking for job opportunities in AU/NZ/US/CA/Europe :P
Akaine Harga
Ranch Hand

Joined: Nov 03, 2009
Posts: 80

Suddenly after hours of experiments I've solved my problem just by wrapping the menu inside div with CSS params typical for this bug solution.

<div style="position: relative; z-index: 50;">

Thanks
alf ace
Greenhorn

Joined: Mar 27, 2012
Posts: 1
I fixed the problem by adding following attributes to these two CSS classes

.rf-ddm-unsel {
position: relative;
z-index: 0;
}

.rf-ddm-sel {
position: relative;
z-index: 99;
}
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
 
subject: dropDownMenu z-index IE bug with RichFaces