Uploaded image for project: 'XWiki Platform'
  1. XWiki Platform
  2. XWIKI-23282

Toggle panels columns has issues when using Small or Large sized panels

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • Major
    • 17.5.0-rc-1, 17.4.1
    • 17.4.0
    • Panels
    • None
    • Windows 11 Pro, Edge 137, using an instance of XWiki 17.4.0 on MariaDB 11.7, Tomcat 11.0.7
    • Unknown

    Description

      Steps to reproduce

      1. Go to Administer Wiki > Look & Feel > Panels
      2. Set the "Width of the left panel column" to Large
      3. Set the "Width of the right panel column" to Large
      4. Go to Main page
      5. Click on the right Panel toggle to collapse it
      6. Observe the page content resizing
      7. Click again the Toggle button to display the right panel back
      8. Click on the left Panel toggle to collapse it
      9. Observe the page content resizing

      Expected results

      After the right Panel is collapsed, the page content is resized properly on the right side (the space is filled until the very right side of the window).

      When the left panel is collapsed, the right Panel remains the same size, only the page content is distributed to the left side to fill the remaining space.

      Actual results

      When only the right Panel is collapsed, it leaves an empty space in its place and the page content remains almost the same.

      When only the left Panel is collapsed, the content is pushed to the left (as expected), but the right Panel doubles in size.

      The issue reproduces also if the size of the panels is Small, but doesn't reproduce if the size is set to Medium.

      However, it both Panels are collapsed in the same time, the content is resized as expected.

      Attachments

        Issue Links

          Activity

            People

              Lucas C Charpentier Lucas
              iandriuta Ilie Andriuta
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated: