JSF PrimeFaces MenuBar dropdown submenu disapearing after hover in p:layout

旧城冷巷雨未停 提交于 2019-12-06 03:24:52

Did you happen to set a custom font size for your ui-widget? Personally, I had the following CSS setting:

.ui-widget {
    font-size: 12px !important;
}

and I experienced similar issue like yours in Firefox (but not in Chrome). Oddly enough, after increasing font-size to 13px the problem was fixed.

The menubar works in IE or Chrome but in firefox don't show correctly you can see that in Check this with firefox a see what happen :)

I solve this problem with

    .ui-menubar .ui-menuitem-text {
    font-size: 13px!important; top: -1px;
}

This is not ideal but it solved the problem for me:

.ui-menuitem-link
{
    max-width: 180px;
}

Please view next link http://forum.primefaces.org/viewtopic.php?f=3&t=16597.

It's a matter of font with.

This appear also in Firefox 27 and Prime Faces 4.0 RC.

In other browsers works well.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!