Hello,
I need to unfocuse SfAutoComplete when Pan gesture started on other control. I used simple code like "autoComplete.IsFocused = false ". On iOS it seems to works fine, but on Android, behaviour is strange. Control looks unfocused, but soft keyboard stays open (but change its looks).
To reproduce just:
xml:
<StackLayout>
<SfAutoComplete x:Name="autoComplete"/>
</StackLayout>
<Label Text="Pan to Unfocus">
<Label.GestureRecognizers>
<PanGestureRecognizer PanUpdated="PanGestureRecognizer_OnPanUpdated"/>
</Label.GestureRecognizers>
</Label>
code:
private void PanGestureRecognizer_OnPanUpdated(object sender, PanUpdatedEventArgs e)
{
autoComplete.IsFocused = false;
}
Regards,
Radek