AppBar is loaded in page

The configured AppBar (v3.0.0-beta1) is loaded in the page instead of my expectation to replace the current (“main”) one. Is this one expected or am I doing anything wrong?

image

Home.ps1

New-UDPage -Name 'Home' -Content {
    $Drawer = New-UDDrawer -Children {
        New-UDList -Children {
            New-UDListItem -Label "Home"
            New-UDListItem -Label "Getting Started" -Children {
                New-UDListItem -Label "Installation" -OnClick {}
                New-UDListItem -Label "Usage" -OnClick {}
                New-UDListItem -Label "FAQs" -OnClick {}
                New-UDListItem -Label "System Requirements" -OnClick {}
                New-UDListItem -Label "Purchasing" -OnClick {}
            }
        }
    }

    New-UDAppBar -Position relative -Children { New-UDElement -Tag 'div' -Content { "Title" } } -Drawer $Drawer
    
    New-UDTextbox -Id 'txtTextfield' -Label 'test' 
}

Try to get rid of the -Position relative parameter.

Ok I understand, this is working fine but in my opinion a bit confusing because I copied this 1:1 from the hosted doc. But now it makes sense why this is used in the doc :wink:

https://universaldashboard-dev.azurewebsites.net/appbar

Good point. Feel free to open issues for doc related stuff as well. This should be crystal clear.

done: https://github.com/ironmansoftware/universal-dashboard/issues/1575