Board index JavaServer Faces General Menu flyout blocked when within layout

Menu flyout blocked when within layout

Components, Ajax Framework, Utilities and More.


Posts: 58
When using a full-page layout.
When having a flyout-menu in the west position (left position).
The flyout is blocked by the width of the left layout border (the border between the left/west and center positions).
This feels unnatural.
As a user I would expect the flyout to overlap the border into the center content area.
I wouldn't feel that I should have to widen the left layout to accommodate all the possible flyout widths.
From a user perspective, the menu to be functional should occupy minimal width by default - just the width of the primary menu items.
Primefaces: 4.0
Primefaces-extensions: 1.1.0
JSF: 2.2

Glassfish 4
Netbeans 7.3

kukeltje Expert Member

Posts: 6374
Location: Netherlands
use css tricks like overflow to accomodate for this
Ronald van Kuijk
______________________________
PrimeFaces 4.0, PrimeFaces plus 0.0.2 | Jboss 7.2.0 | Mojarra 2.1.18
Fedora 19, Firefox 26.0
Read the forum posting rules
Beginners: http://www.coreservlets.com/JSF-Tutorial/jsf2/


Posts: 15051
Location: Cybertron

See complex layout demo.
PrimeFaces Lead


Posts: 58
Thank you for the quick help - I see that in the complex layout demo source that 'overflow' is used to allow the menu to overflow the top layout.
That is exactly the desired behavior.
Thanks
Primefaces: 4.0
Primefaces-extensions: 1.1.0
JSF: 2.2

Glassfish 4
Netbeans 7.3


Return to General