Hello,
I need to insert sfAutocomplete control to the SfListView, but if i do that i am not able to unfocus that control. It means that at least one sfAutocomplete is focused every time. If i try to tap on other place(out of sfAutocomplete in SfListview) I dont see any difference, SfAutocomplete is still focused. Only way as i can reach that is focus other SfAutocomplete in the SfListView. I created test app to reproduce this issue which is attached.
Plaform: UWP
Device: DELL Latitude 5491
Windows OS: Windows 10 21H2(Build 19044.1586)
Thanks
Lukas
Attachment: SfAutoComplete_40b3d9c4.zip
Hi Lukas,
Currently, we are validating the reported issue and we will let you know the complete details on or before 27th April 2022. We appreciate your patience until then.
Regards,
Ruba Shanmugam
Hi Lukas,
We were able to reproduce the reported issues in UWP. In UWP any one element is getting focused always, currently, we are checking the feasibility to provide the possible solution for your problem and we will let you know the complete details on or before May 2nd, 2022.
Regards,
Ruba Shanmugam
Hello Ruba,
Any updates about this issue?
Thanks
Lukas
Hi Lukas,
Sorry for the delay.
We would like to let you know that, as per the UWP default behaviour any one element is getting focused always. We have ensured with Xamarin Entry also. Currently, there is no possibility to unfocus the SfAutoComplete focus inside the SfListView. Still, we are checking on other possibilities, once complete the analysis fully and let you know the details before 10th May 2022.
Regards,
Ruba Shanmugam
Hi Lukas,
Thanks for your patience. As per the UWP default behaviour, any one element is getting focused always. We have ensured with Xamarin Entry also. You can resolve the reported issue by using the below workaround. We have set the SfAutoComplete IsFocused property as false after the selection has been changed with some delay as per the below code snippet.
|
private async void _autoComplete_SelectionChanged(object sender, Syncfusion.SfAutoComplete.XForms.SelectionChangedEventArgs e) { var autoComplete = (sender as Syncfusion.SfAutoComplete.XForms.SfAutoComplete); await Task.Delay(10); if (!string.IsNullOrEmpty(autoComplete.Text)) { autoComplete.IsFocused = false; } } |
We have an issue with the dropdown not closing while choosing items from the SfAutoComplete, so we have fixed that issue and attached a custom assembly and sample to the attachment. We will include the issue fix in our next weekly release which is scheduled on or before May 17, 2022.
Regards,
Ruba Shanmugam
Hi Lukas,
We regret to inform you that, the reported issue fix has not been included in today’s weekly release. We will include this fix in our next weekly NuGet release, which will be rolled out on May 24, 2022. We appreciate your patience until then.
Regards,
Ruba Shanmugam
Hi Lukas,
Thanks for your patience.
We have included the fix in our
latest Weekly NuGet release v20.1.0.57 which is available for download (https://www.nuget.org/ ). We thank you for your support and
appreciate your patience in waiting for this update. Please get in touch with
us if you would require any further assistance.
Regards,
Ruba Shanmugam