UDDataGrid multilines row issue in v5.5.4

Product: PowerShell Universal
Version: 5.5.4

Hello,

I migrated from an old version of PSU (from 4.2.18 > 5.5.4), I have an UDDataGrid with custom Render for one Column that uses a basic HTML list (< ul >) that worked in previous version but not in new one;

Here’s an example code :

New-UDDataGrid -LoadRows {
    $Data = @(
        @{ Name = 'Adam'; Number = Get-Random}
        @{ Name = 'Tom'; Number = Get-Random}
        @{ Name = 'Sarah'; Number = Get-Random}
    )
    $Data | Out-UDDataGridData -Context $EventData -TotalRows $Rows.Length
} -Columns @(
    New-UDDataGridColumn -Field name
    New-UDDataGridColumn -Field number
    New-UDDataGridColumn -Field test -Render {
        New-UDHtml -Markup "<ul><li>1</li><li>2</li></ul>"
    }
    New-UDDataGridColumn -Field test2 -Render {
        New-UDElement -Tag 'ul' -Content {
            New-UDElement -Tag 'li' -Content { "1" }
            New-UDElement -Tag 'li' -Content { "2" }
        }
    }
) -AutoHeight $true

When I check the source code of the page, the information is there, but it seems to be hidden by the following line :

Do you have any idea what’s going wrong here?
Thanks !

Hand here’s the correct output I have in v4.2.18 :

Just curious does the density setting on the table change anything?
Also, you could try wrapping the whole thing in a div element, see if that makes it show (though i think this should still be raised as a bug)

Hello,

Thanks for the reply !

Unforthunatly changing the density and/or wrapping the whole < ul> in a < div> element doesn’t change anything, I also tried to set RowHeight to a high value but it doesn’t work too.

Yep I really think it’s a bug too :cry: