2 Replies Latest reply on Aug 1, 2012 9:11 AM by olivetti

    [rich:accordion] Bug with height of Item when switchType != Client

    olivetti

      We use in our application RichFaces 4.3.0 and and we have a problem with <rich:accordion> when swithType ! Client, ajax for example...

       

      In the following cas, the second item is opened :

       

      onglet_first_time.jpg

       

      If we click again on "Panel2", (although it's already opened); the 2nd item's height is calculated again but it's shorter than actual height...

       

      onglet_second_time.jpg

       

      Did you know the problem ? Have you ever fixed it ?

       

      Regards.

       

      It's due to the JavaScript whichs badly calculates first the parent's height (128px instead of 152px)...

       

      parent_height_firebug.jpg