Question

Primefaces menu bar in a JSF application can not be accessed in any of the Mobile Browser in Android. Clicking the top level submenu do not bring the dropdown? How Can I change that?

Was it helpful?

Solution

At your p:menubar tag adds the property autoDisplay="false".

Exemple:

<p:menubar autoDisplay="false">

This will make the submenu don't show up when mouse hover, just by mouse click. And at mobile this will work also.

OTHER TIPS

I used separate pages for mobile access using PrimeFaces Mobile. Then there is no need to address this issue.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top