-
Notifications
You must be signed in to change notification settings - Fork 988
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
The issue is reproduced because we have cached the ListViewItem.Acces…
…sibilityObject. After the changes in #4910, we added logic that, with each call to the "AccessibilityObject" property, checked that the ListView exists and, if absent, threw an exception. (#6352) We now return null as a ListViewItem.AccessibilityObject instead of returning an exception. Also, after the focused ListViewItem is removed, it remains cached in the FocusedItem property. It also forces the Accessibility tool to try to retrieve the data of the ListViewItem that is not displayed. As a fix, a logic was added to reset the Focused flag from the ListViewItem.
- Loading branch information
1 parent
ff8a062
commit 2a7cc86
Showing
4 changed files
with
59 additions
and
37 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters