Hi Hemalath,
sorry, it took me a while to find out why your sample is working and my app produces this problem with the updated SfAutoComplete control.
To reproduce:
Remove DisplayMemberPath="Name" DataSource="{Binding EmployeeCollection}" properties from the xaml
I have a simple list as the datasource of the SfAutoComplete control:
In constructor of MainPage
autoComplete.DataSource = new ObservableCollection<String>();
In "Handle_ValueChanged" I have the following code, to populate the control with a list of the last search patterns
var list = ((ObservableCollection<String>)autoComplete.DataSource);
// add current search if list is empty
if (list.Count == 0)
{
list.Add(autoComplete.Text);
return;
}
// do not add search if last search starts with current search
if (list[0].StartsWith(autoComplete.Text)) return;
// replace last search if current search starts with same pattern
if (autoComplete.Text.StartsWith(list[0]))
{
list.Remove(autoComplete.Text); // make sure pattern is not multiple times in list
list[0] = autoComplete.Text;
}
else
{
list.Remove(autoComplete.Text); // make sure pattern is not multiple times in list
list.Insert(0, autoComplete.Text);
}
This way, the onscreen keyboard does not show up after the first entry of a search.
(Start the app, klick in the control, onscreen keyboard is displayed, type something, click somewhere on the screen to hide the keyboard, click in the control again, keyboard should display, but it doesn't)
As mentioned this started to happen beginning with version 17.4.0.40
I downgraded SfAutoComplete in your sample to 17.4.0.39 this works fine, you can enter a search phase, hide the keyboard click in the control again, keyboard is displayed. This way it also worked on 17.3.x
Hope this helps, maybe adding / changing items in the list in ValueChanged is not a good idea, but it worked the versions before.
Best regards,
Thomas