Skip to content

Commit

Permalink
fix: fixed #997
Browse files Browse the repository at this point in the history
  • Loading branch information
NaBian committed Dec 3, 2021
1 parent 9efb6a0 commit 034238f
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/Shared/HandyControl_Shared/Controls/SideMenu/SideMenu.cs
Original file line number Diff line number Diff line change
Expand Up @@ -95,6 +95,12 @@ private void SideMenuItemSelected(object sender, RoutedEventArgs e)
{
if (AutoSelect)
{
if (_selectedItem != null)
{
_selectedItem.IsSelected = false;
_selectedItem = null;
}

_selectedHeader.SelectDefaultItem();
}
_isItemSelected = false;
Expand Down

0 comments on commit 034238f

Please sign in to comment.