Describe the bug
Found this while testing #4255, but behavior is the same with the new code from that PR as it was in 7.0, so just creating a new bug for tracking in next release.
Basically, it appears the first time after the ListDetailsView has loaded, if you click on a TextBox added to the details content of the control, the focus will switch back to the list instead of staying in the TextBox.
Steps to Reproduce
Steps to reproduce the behavior:
- Go to the ListDetailsView sample
- Modify the DetailsTemplate and replace the entire
RelativePanel with a TextBox control.
- Click on an item in the list
- Then click on the Textbox
- Note now focus is back in the list (use arrow keys to confirm), but expect it to be still in the Textbox where I clicked.
Only occurs first time on load, and only for a short time after selecting the first items to load the details in the list, if you wait a few seconds the issue won't occur.
Expected behavior
Focus should remain in TextBox.
Environment
Package Version(s): 7.0 and latest main
Windows 10 Build Number:
App min and target version:
Device form factor:
Visual Studio version:
Additional context
Describe the bug
Found this while testing #4255, but behavior is the same with the new code from that PR as it was in 7.0, so just creating a new bug for tracking in next release.
Basically, it appears the first time after the ListDetailsView has loaded, if you click on a
TextBoxadded to the details content of the control, the focus will switch back to the list instead of staying in the TextBox.Steps to Reproduce
Steps to reproduce the behavior:
RelativePanelwith aTextBoxcontrol.Only occurs first time on load, and only for a short time after selecting the first items to load the details in the list, if you wait a few seconds the issue won't occur.
Expected behavior
Focus should remain in TextBox.
Environment
Package Version(s): 7.0 and latest main
Windows 10 Build Number:
App min and target version:
Device form factor:
Visual Studio version:
Additional context