Adding a TextBox to a page in a NavigationView crashes a WinAppSdk 1.2 app #7911
Closed
1 of 2 tasks
Labels
area-NavigationView
NavView control
bug
Something isn't working
Regression
team-Controls
Issue for the Controls team
Milestone
Describe the bug
Adding a
TextBox
control to a page that is programmatically added viaNavigationView
crashes the app. This used to work in WinAppSdk 1.1.5 but now fails in WinAppSdk 1.2.221109.1.Steps to reproduce the bug
Prerequisites:
NavigationView
. The app crashes with an access violation exception in theLoadComponent
function of file Microsoft.UI.Xaml.hExpected behavior
TextBox
elements can be used in XAML without crashing the app.Screenshots
No response
NuGet package version
No response
Windows app type
Device form factor
Desktop
Windows version
Windows 10 (21H2): Build 19044
Additional context
At the time of this bug submission, the "Nuget package version" drop down does not list the WinAppSdk 1.2 package. The NuGet packaged used is as follows:
Microsoft.WindowsAppSDK.1.2.221109.1
The text was updated successfully, but these errors were encountered: