Uploaded image for project: 'Magnolia UI'
  1. Magnolia UI
  2. MGNLUI-7048

minimumWidthFromContent is false by default causing columns in crowded views to disappear unexpectely

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Neutral Neutral
    • None
    • None
    • None

      Steps to reproduce

      1. Open an incognito window.
      2. Reduce size of window so not all columns of the pages app would fit (ie 300 pixels)
      3. Open pages app
      4. Notice columns are too small to fit content.

      This happens even more quickly when dealing with content apps with a lot of columns. Those wil make the jrcName column completely disappear in the treeview. Unless one specifies minimumWidthFromContent: true on the column

      Also checking the code of info.magnolia.ui.contentapp.configuration.column.ConfiguredColumnDefinition shows that the value is by default false.

      https://docs.magnolia-cms.com/product-docs/6.2/Apps/App-configuration/Column-definition.html claims minimumWidthFromContent is true by default which is incorrect.

      Workaround

      explicitly specify: minimumWidthFromContent: true on columns that need to be visible

       

        Acceptance criteria

              abrooks Adrian Brooks
              rico.jansen Rico Jansen
              Nucleus
              Votes:
              0 Vote for this issue
              Watchers:
              7 Start watching this issue

                Created:
                Updated:
                Resolved:
                Work Started:

                  Bug DoR
                  Task DoD

                    Estimated:
                    Original Estimate - Not Specified
                    Not Specified
                    Remaining:
                    Remaining Estimate - Not Specified
                    Not Specified
                    Logged:
                    Time Spent - 0.25d
                    0.25d