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
{{ message }}
This repository was archived by the owner on Feb 25, 2026. It is now read-only.
TODO: elaborate the cases when the ViewState is not Details
A clear and concise description of what the bug is.
Is this bug a regression in the toolkit? If so, what toolkit version did you last see it work:
Steps to Reproduce
Can this be reproduced in the Sample App? (Either in a sample as-is or with new XAML pasted in the editor.) If so, please provide custom XAML or steps to reproduce. If not, let us know why it can't be reproduced (e.g. more complex setup, environment, dependencies, etc...)
Steps to reproduce the behavior:
Given the following environment (Sample App w/ XAML, Project with Isolated setup, etc...)
Describe the bug
Because of this code the list is not found when we try to focus it.
WindowsCommunityToolkit/Microsoft.Toolkit.Uwp.UI.Controls.Layout/ListDetailsView/ListDetailsView.cs
Lines 406 to 412 in 5dfc575
We try to focus the list here, if the
ViewStateis notListDetailsViewState.DetailsWindowsCommunityToolkit/Microsoft.Toolkit.Uwp.UI.Controls.Layout/ListDetailsView/ListDetailsView.cs
Lines 375 to 389 in 5dfc575
The only call site for SetFocus is this
WindowsCommunityToolkit/Microsoft.Toolkit.Uwp.UI.Controls.Layout/ListDetailsView/ListDetailsView.cs
Line 371 in 5dfc575
So we only ever use the
ViewStateprop.TODO: elaborate the cases when the
ViewStateis notDetailsA clear and concise description of what the bug is.
Steps to Reproduce
Steps to reproduce the behavior:
Expected behavior
Screenshots
Environment
NuGet Package(s):
Package Version(s):
Windows 10 Build Number:
App min and target version:
Device form factor:
Visual Studio version:
Additional context