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

Twin Column Field size is wrong when it is on a first tab (Content apps)

    XMLWordPrintable

Details

    • Bug
    • Resolution: Obsolete
    • Neutral
    • None
    • 6.2.1
    • None

    Description

      Steps to reproduce

      • Include a Twin Column field in the first tab of a content app (contacts app, for example).
      • Open the content app

      Expected results

      The boxes appear aligned

      Actual results

      Boxes width is 100% and appear disaligned. It changes if you click on a diferent tab and come back or if you refresh the page.

      Workaround

      1. Do not include this field in the first tab but in a different one.
      2. Override info.magnolia.ui.form.field.factory.AbstractFieldFactory.createField()

      Development notes

      It seems that width=100% is set in info.magnolia.ui.form.field.factory.AbstractFieldFactory.createField() the first time, later it will be overriden an correctly displayed.

      Checklists

        Acceptance criteria

        Attachments

          Issue Links

            Activity

              People

                Unassigned Unassigned
                miruela Mercedes Iruela
                Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved:

                  Checklists

                    Bug DoR
                    Task DoD