[MGNLUI-6036] Twin Column Field size is wrong when it is on a first tab (Content apps) Created: 09/Jul/20  Updated: 24/Dec/20  Resolved: 24/Dec/20

Status: Closed
Project: Magnolia UI
Component/s: None
Affects Version/s: 6.2.1
Fix Version/s: None

Type: Bug Priority: Neutral
Reporter: Mercedes Iruela Assignee: Unassigned
Resolution: Obsolete Votes: 0
Labels: maintenance
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Relates
relates to MGNLUI-6083 TwinColumnField: not readable and mis... Closed
Template:
Acceptance criteria:
Empty
Task DoD:
[ ]* Doc/release notes changes? Comment present?
[ ]* Downstream builds green?
[ ]* Solution information and context easily available?
[ ]* Tests
[ ]* FixVersion filled and not yet released
[ ]  Architecture Decision Record (ADR)
Bug DoR:
[ ]* Steps to reproduce, expected, and actual results filled
[ ]* Affected version filled
Date of First Response:

 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.



 Comments   
Comment by Mercedes Iruela [ 24/Dec/20 ]

Not longer repoducible in 6.2.5.

Generated at Mon Feb 12 09:32:31 CET 2024 using Jira 9.4.2#940002-sha1:46d1a51de284217efdcb32434eab47a99af2938b.