-
Notifications
You must be signed in to change notification settings - Fork 705
New issue
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
NavView IsPaneVisible Fix #6227
Conversation
/azp run |
Azure Pipelines successfully started running 1 pipeline(s). |
@karenbtlai Did the tests repro the issue for you? I ran them without the fix and the app did not crash nor did the tests fail 🤔 |
Huh, weirdly enough, the app does not crash when I'm manually testing it with the deployed appx in the BuildOutput (which is what the interaction tests consume), but repros / crashes without the fix when running using VS? @StephenLPeters any idea what's happening here? |
Is it an exception that is thrown but caught ? If you see it only in the debugger then that's likely the issue. |
Hi all, which release will this fix appear in? |
@ranjeshj thanks for setting the milestone but is there any chance of getting a prerelease with this update to unblock us. Unfortunately setting DISABLE_XAML_GENERATED_BREAK_ON_UNHANDLED_EXCEPTION with was the suggested workaround doesn't work |
Description
NavView was crashing whenever
IsPaneVisible
property is set to false. This is due toSplitView.CompactPaneLength()
returning 0 when not visible, resulting in a negative value forTemplateSettings.SmallerIconWidth
.Motivation and Context
Fixes #5971
How Has This Been Tested?
Tests previously covering this scenario is now re-enabled to prevent regression.