Hi,
is there a way to change the position of a modal?
I tried
New-UDFloatingActionButton -OnClick {
New-UDStyle -Style '
position: fixed !important;
top: 50px !important;
right: 10px !important;
' -Content {
Show-UDModal -Content {
New-UDTypography -Text 'hello world'
}
}
}
and
New-UDFloatingActionButton -OnClick {
New-UDElement -Tag 'div' -Content {
Show-UDModal -Content {
New-UDTypography -Text 'hello world'
}
} -Attributes @{
style = @{
position = 'fixed'
top = '2px'
right = '10px'
}
}
}
but no luck, its still in the center.
Product: PowerShell Universal Version: 2.5.5
New-UDFloatingActionButton -OnClick {
New-UDStyle -Style '
position: fixed !important;
top: 50px !important;
right: 10px !important;
' -Content {
Show-UDModal -Content {
New-UDTypography -Text 'hello world'
}
}
}
Hi, Same Issue - any suggestion?
I’m not sure a React v4 modal allows to change the position through it’s style attributes…
Therefore, Universal won’t be able to do it either - i’m afraid!