Hey All,
Not sure if this is my understanding or a bug, but I find the behaviour of New-UDPaper compared to New-UDCard a bit odd. Hopefully someone can shed some light.
Two examples:
New-UDCard -Content {
New-UDTypography -Text "Test123"
New-UDHtml -Markup "<br><br>"
New-UDTypography -Text "Test456"
}
New-UDPaper -Elevation 3 -Content {
New-UDTypography -Text "Test123"
New-UDHtml -Markup "<br><br>"
New-UDTypography -Text "Test456"
}
Now here’s what the output looks like:
I wa going to use a UDPaper, to drop the spacing at the top of the card commonly used for titles. But when I use UD Paper, my components don’t render in the expected order, and my BR’s are being displayed after both new-udtypography’s rather than inbetween.
I’m running PSU Version 4.2.21