PrimeFaces overlayPanel outside the container

I'm trying to display an OverlayPanel in a carousel, but this panel is wider than a carousel, so its contents are not displayed completely.

I tried to add a z-index style value to the panel, but it still remains β€œinside” the carousel.

Is there a way to show this in full by drawing its overflow outside the carousel?

+4
source share
1 answer

In accordance with the documentation of simple concepts OverLayPanel Documentation www.primefaces.org/docs/vdl/3.4/primefaces-p/overlayPanel.html you should use

 appendToBody="true" 

The overlay panel should do the trick with it.

+2
source

Source: https://habr.com/ru/post/1410971/


All Articles