[iOS] Rapidly clicking span (6 times at least) on UITest 3525 throws a null exception (#4109)
* https://github.com/xamarin/Xamarin.Forms/issues/3930 fix * following convention
This commit is contained in:
Родитель
65001cecfe
Коммит
a7f23cf490
|
@ -181,6 +181,9 @@ namespace Xamarin.Forms.Platform.MacOS
|
|||
|
||||
var recognizers = childGestures?.GetChildGesturesFor<TapGestureRecognizer>(x => x.NumberOfTapsRequired == (int)sender.NumberOfTapsRequired);
|
||||
|
||||
if(recognizers == null)
|
||||
return;
|
||||
|
||||
var tapGestureRecognizer = ((ChildGestureRecognizer)weakRecognizer.Target).GestureRecognizer as TapGestureRecognizer;
|
||||
foreach (var item in recognizers)
|
||||
if (item == tapGestureRecognizer && view != null)
|
||||
|
|
Загрузка…
Ссылка в новой задаче