You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
NavigationView: Fix overflow button not being collapsed when the overflow menu only contains one item and NavigationView menu items are removed to empty the overflow menu (#3087)
* Fix overflow button not being collapsed.
* Add interaction test.
* Revoking m_footerItemsCollectionChangedRevoker in UnhookEventsAndClearFields() now.
* Move NavigationViewTopNavOverflowButtonPage into TopMode folder.
* CR feedback
Log.Comment("Verify that removing a primary menu item which creates enough room for the single overflow menu item to be moved into collapses the overflow button");
<Buttonx:Name="NavigationViewTopNavStorePage" AutomationProperties.Name="Top NavigationView Store Test"Margin="2"HorizontalAlignment="Stretch">Top NavigationView Store Test</Button>
<!-- Copyright (c) Microsoft Corporation. All rights reserved. Licensed under the MIT License. See LICENSE in the project root for license information. -->
<Buttonx:Name="AddItem4Button" AutomationProperties.Name="AddItem4Button"Click="AddItem4Button_Click"Margin="5,0,0,0"Content="Add Menu Item 4"/>
30
+
<Buttonx:Name="RemoveFirstItemButton" AutomationProperties.Name="RemoveFirstItemButton"Click="RemoveFirstItemButton_Click"Margin="5,0,0,0"Content="Remove First Item"/>
31
+
<Buttonx:Name="RemoveLastItemButton" AutomationProperties.Name="RemoveLastItemButton"Click="RemoveLastItemButton_Click"Margin="5,0,0,0"Content="Remove Last Item"/>
0 commit comments