We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Application crashes when using NavigationView that contains only one NavigationViewItem.
Create new c++ desktop winui3 project.
Edit .vcxproj file to build unpackaged app.
<AppxPackage>false</AppxPackage> <WindowsPackageType>None</WindowsPackageType>
<?xml version="1.0" encoding="utf-8"?> <Window x:Class="navviewtest.MainWindow" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:local="using:navviewtest" xmlns:d="http://schemas.microsoft.com/expression/blend/2008" xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" mc:Ignorable="d" Title="navviewtest"> <NavigationView> <NavigationView.MenuItems> <NavigationViewItem Content="Item1" /> <!-- App doesn't crash when there are two items. <NavigationViewItem Content="Item2" /> --> </NavigationView.MenuItems> </NavigationView> </Window>
void MainWindow::myButton_Click(IInspectable const&, RoutedEventArgs const&) { //myButton().Content(box_value(L"Clicked")); }
No response
WinUI 3 - Windows App SDK 1.6.3: 1.6.241114003
Windows 11 (24H2): Build 26100
The text was updated successfully, but these errors were encountered:
Hi I'm an AI powered bot that finds similar issues based off the issue title.
Please view the issues below to see if they solve your problem, and if the issue describes your problem please consider closing this one. Thank you!
Note: You can give me feedback by thumbs upping or thumbs downing this comment.
Sorry, something went wrong.
No branches or pull requests
Describe the bug
Application crashes when using NavigationView that contains only one NavigationViewItem.
Steps to reproduce the bug
Create new c++ desktop winui3 project.
Edit .vcxproj file to build unpackaged app.
Expected behavior
No response
Screenshots
NuGet package version
WinUI 3 - Windows App SDK 1.6.3: 1.6.241114003
Windows version
Windows 11 (24H2): Build 26100
Additional context
No response
The text was updated successfully, but these errors were encountered: