-
Notifications
You must be signed in to change notification settings - Fork 1.9k
[Android] Fix for Talkback reporting incorrect number of list items (#4090) #10151
Conversation
@nicolasdeory It looks like too many commits are here. Can you please rebase on 4.6.0? Thanks! |
@samhouts I've done the rebase and the extra commits are gone, but the PR isn't updating for me, it still displays 25 commits. Should I create a new PR? |
@nicolasdeory Did you do a force push? It looks like you may have done a normal push, and that typically undoes a rebase. |
9587d5a
to
7659f3b
Compare
@samhouts It should be fixed now. Sorry for the inconvenience! |
/azp run |
Azure Pipelines successfully started running 1 pipeline(s). |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I know it's been awhile so if you don't have time to check this one out @nicolasdeory we can take it over but it looks like this PR is causing a number of tests to fail
@PureWeen Unfortunately I can't take a thorough look at the moment. I'm puzzled as to why those tests are failing, especially because the code change is minimal. Could it have something to do with the sample? |
Any update on this? |
@mounikakola can you confirm this is still an issue with the latest Xamarin.Forms stable? Even when you have the feature flag enabled as described in #1529 (comment) If yes, and you would still like to see this fixed, would you be willing and able to take this on yourself? I see that this functionality has been moved over for .NET MAUI where it will definitely be fixed, but if you would like to see it for Forms as well, the best chance of getting it in would be if you could help us. Thanks! Closing this one for now as we're focussing this for .NET MAUI for now and/or might be already fixed. Either way there were a lot of failing tests with this that still need to be fixed in order to get this merged. |
Description of Change
The native ListView control in Android had two phantom items (header and footer). Even if they were invisible, they still counted toward the children count. Therefore, a list with 2 items would get narrated as "a list of 4 items".
Issues Resolved
API Changes
None
Platforms Affected
Behavioral/Visual Changes
None
Before/After Screenshots
Not applicable
Testing Procedure
Run Issue4090 in Control Gallery.
When clicking 'Browse' or 'About', Talkback should report that the element is in a list of 2 items.
PR Checklist