[MGNLUI-7048] minimumWidthFromContent is false by default causing columns in crowded views to disappear unexpectely Created: 25/Feb/22 Updated: 09/May/23 Resolved: 15/Mar/23 |
|
| Status: | Closed |
| Project: | Magnolia UI |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | Bug | Priority: | Neutral |
| Reporter: | Rico Jansen | Assignee: | Adrian Brooks |
| Resolution: | Done | Votes: | 0 |
| Labels: | VN-Analysis | ||
| Σ Remaining Estimate: | Not Specified | Remaining Estimate: | Not Specified |
| Σ Time Spent: | 0.25d | Time Spent: | 0.25d |
| Σ Original Estimate: | Not Specified | Original Estimate: | Not Specified |
| Attachments: |
|
|||||||||||||||
| Issue Links: |
|
|||||||||||||||
| Sub-Tasks: |
|
|||||||||||||||
| Template: | ||||||||||||||||
| Acceptance criteria: |
Empty
|
|||||||||||||||
| Task DoD: |
[X]*
Doc/release notes changes? Comment present?
[X]*
Downstream builds green?
[X]*
Solution information and context easily available?
[X]*
Tests
[X]*
FixVersion filled and not yet released
[ ] 
Architecture Decision Record (ADR)
|
|||||||||||||||
| Bug DoR: |
[ ]*
Steps to reproduce, expected, and actual results filled
[ ]*
Affected version filled
|
|||||||||||||||
| Release notes required: |
Yes
|
|||||||||||||||
| Date of First Response: | ||||||||||||||||
| Epic Link: | Nucleus Quality Maintenance | |||||||||||||||
| Sprint: | Nucleus 32 | |||||||||||||||
| Story Points: | 0.5 | |||||||||||||||
| Team: | ||||||||||||||||
| Work Started: | ||||||||||||||||
| Description |
Steps to reproduce
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. Workaroundexplicitly specify: minimumWidthFromContent: true on columns that need to be visible |
| Comments |
| Comment by Quach Hao Thien [ 02/Mar/23 ] |
This will affect to all columns, not all column and column's content should be visible as full width and it will make an unnecessary horizontal scrollbar to the grid => bad UX Plus, the property is set false by default, so I think better solution is to align the docu with the implementation. |