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 has been archived by the owner on May 1, 2024. It is now read-only.
First of all, sorry for my bad english abilities.
I'm facing lock on random element using VoiceOver swipe when some elements visibility is updated by network events for exemple.
So I've check PageContent.cs where are VoiceOver accessibilities functions.
And I share you my thinking on some lines :
Hello Xamarin.Forms Team,
First of all, sorry for my bad english abilities.
I'm facing lock on random element using VoiceOver swipe when some elements visibility is updated by network events for exemple.
So I've check PageContent.cs where are VoiceOver accessibilities functions.
And I share you my thinking on some lines :
Xamarin.Forms/Xamarin.Forms.Platform.iOS/Renderers/PageContainer.cs
Line 69 in 5a96f79
Expected value seems to be
nil
(https://developer.apple.com/documentation/objectivec/nsobject/1615084-accessibilityelementatindex?language=objc) but seems thatNSNull.Null
isn'tnil
(https://developer.apple.com/library/archive/documentation/Cocoa/Conceptual/NumbersandValues/Articles/Null.html)Xamarin.Forms/Xamarin.Forms.Platform.iOS/Renderers/PageContainer.cs
Line 72 in 5a96f79
If
index
is out of bound aSystem.ArgumentOutOfRangeException
isn't supposed to be thown ?Xamarin.Forms/Xamarin.Forms.Platform.iOS/Renderers/PageContainer.cs
Line 77 in 5a96f79
The return type should be a
nint
regarding the next points.Xamarin.Forms/Xamarin.Forms.Platform.iOS/Renderers/PageContainer.cs
Line 80 in 5a96f79
Expected value seems be
NSNotFound
(https://developer.apple.com/documentation/objectivec/nsobject/1615078-indexofaccessibilityelement?language=objc) that is more likenint.MaxValue
thanint.MaxValue
.Xamarin.Forms/Xamarin.Forms.Platform.iOS/Renderers/PageContainer.cs
Line 83 in 5a96f79
If
element
doesn't exists in the ListIndexOf
seems to return-1
(https://docs.microsoft.com/fr-fr/dotnet/api/system.collections.generic.list-1.indexof?view=netframework-4.8) that is not so close toNSNotFound
.Thanks for reading
Thanks in advance for your feedbacks
Best Regards,
Jean
The text was updated successfully, but these errors were encountered: