Skip to content

Commit

Permalink
fix crash in navview when tabbing
Browse files Browse the repository at this point in the history
  • Loading branch information
ranjeshj committed Nov 24, 2020
1 parent e90f6f8 commit 55db4a2
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions dev/NavigationView/NavigationView.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1063,6 +1063,11 @@ winrt::ItemsRepeater NavigationView::GetParentRootItemsRepeaterForContainer(cons
while (!IsRootItemsRepeater(parentIR))
{
currentNvib = GetParentNavigationViewItemForContainer(currentNvib);
if (!currentNvib)
{
return nullptr;
}

parentIR = GetParentItemsRepeaterForContainer(currentNvib);
}
return parentIR;
Expand Down

0 comments on commit 55db4a2

Please sign in to comment.