Hi Richard,
To overcome the above reported alignment issue we have introduced a public method “LayoutRefresh()” to refresh the pivot component manually at sample level. Call this public method on Tab’s Selected event to resolve your issue. Please find the sample code below for reference.
|
public async Task CallStateHasChanged()
{
if (PivotView != null)
{
await PivotView.LayoutRefresh(); // Method used to refresh the component UI.
}
} |
Please let us know if you have any further queries, we are happy to assist you.
Regards,
Mouli