ListDetailsView: Won't focus list even if ViewState
is not ListDetailsViewState.Details
#4244
Closed
21 tasks
Labels
Milestone
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
ViewState
is notListDetailsViewState.Details
WindowsCommunityToolkit/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
ViewState
prop.TODO: elaborate the cases when the
ViewState
is notDetails
A 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
The text was updated successfully, but these errors were encountered: