[MGNLUI-7557] Expanded RichTextField doesn't expand in height Created: 11/Oct/22  Updated: 06/Jan/23  Resolved: 06/Jan/23

Status: Closed
Project: Magnolia UI
Component/s: design, dialogs
Affects Version/s: 6.2.25
Fix Version/s: None

Type: Bug Priority: Neutral
Reporter: Quach Hao Thien Assignee: Daniel Alonso
Resolution: Won't Do Votes: 0
Labels: RichTextField, VN-Maintenance
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Attachments: PNG File image-2022-10-11-13-09-11-435.png     PNG File image-2023-01-05-11-40-42-250.png    
Template:
Acceptance criteria:
[ ]* When the RichTextFieldDefinition#height isn't set, it should be the same as is other fields regardless of the width of dialog
[ ]* When the RichTextFieldDefinition#height is set, it should be prioritized regardless of the width of dialog
[ ]* When the RichTextField is switched to expand mode the height of field should be calculated as implemented in MGNLUI-6555
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:
Epic Link: Nucleus Quality Maintenance
Team: Nucleus
Work Started:

 Description   

Steps to reproduce

  1. Create a dialog with configuration
    form:
      properties:
        - name: text
          $type: richTextField
          height: 150
    wide: true 
  1. Click on expand button on RichTextField and observe the result 

Expected results

Height of RichTextField should be expanded alongs with the width.

Actual results

Only the Width is expanded

Workaround

Development notes

The implementation of MGNLUI-6555 ignores the setting of info.magnolia.ui.field.RichTextFieldDefinition#height when the info.magnolia.ui.dialog.ConfiguredDialogDefinition#wide is true

Problem of issue above described in MGNLUI-7015, but the implementation of this ticket has disfunction the MGNLUI-6555, so when the field is expanded, its height is no longer be calculated correctly
 



 Comments   
Comment by Quach Hao Thien [ 06/Jan/23 ]

This ticket is obsoleted

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