Page 1 of 1

sidebar: does not show as it should.

Posted: 30 Nov 2018, 14:10
by marcelocaser
Hi,

Sidebar in version Primefaces 6.2 with Avalon 1.0.6 does not show correctly. To test, just use the code below. Apparently it is overlapping the main page when it is called by some button.

Code: Select all

<p:sidebar widgetVar="enviarEmail" fullScreen="true" baseZIndex="10000">
        <h1 style="font-weight:normal">Full Screen Sidebar</h1>
	<p:commandButton value="Cancel" oncomplete="PF('enviarEmail').hide()"/>
</p:sidebar>

Code: Select all

<p:commandButton id="enviarEmail" value="#{msg.enviarEmail}" oncomplete="PF('enviarEmail').show()" icon="fa fa-envelope-o" styleClass="info-btn"/>
Thank you very much in advance.

Re: sidebar: does not show as it should.

Posted: 30 Nov 2018, 14:32
by marcelocaser
Sorry, it's no problem. I made
a mistake :)

Re: sidebar: does not show as it should.

Posted: 30 Nov 2018, 15:57
by mert.sincan
Thanks a lot for the update!