Can I disable PrimeFaces AccordionPanel tab animation?

Animation happens when you expand or collapse a tab in AccordionPnel, and it can become very sluggish in a loaded application, and I would like to get rid of it. How to do it?

+4
source share
1 answer

Maybe this can help you,

<p:accordionPanel>
    <p:effect event="click" speed="1000" type="highlight"/>
        <p:tab title="1"></p:tab>
        <p:tab title="2"></p:tab>
        <p:tab title="3"></p:tab>
</p:accordionPanel>

ms speed and type is the animation effect you want.

+2
source

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


All Articles