Drop-down doesn't close and just hangs on screen

After a selection from the list, the opened drop-down doesn't close and just hangs on screen. Even when navigated to another page it still stays on screen. 


Expected behaviour: after a data is selected from the list the opened drop-down list should be automatically closed.


4 Replies

YV Yaswin Vikhaash Rajaretenam Syncfusion Team February 28, 2025 05:42 PM UTC

Hi Boot Dat,

We have created an AutoComplete sample and attempted to replicate the scenario. However, selecting the data works correctly on our end, and we could not reproduce the reported issue.

Please find the attached sample and video reference for your review. To better understand the scenario you are facing, could you please share the following details?

1️⃣ List of events bound to the AutoComplete component
2️⃣ A video demonstrating the issue
3️⃣ A modified sample that reproduces the issue

Sharing these details will help us analyze the scenario more effectively and provide an appropriate solution


Regards

Yaswin Vikhaash 







Attachment: autocomplete_sample_56fe18bf.zip


BD Boot Dat March 3, 2025 10:16 PM UTC

I have the issue on blazor hybrid, android. Not tested on iOS yet. 


Kindly checked the attached document for the screen recording 


Attachment: Screenrecorder20250303220638315_ef4c78a4.zip


BD Boot Dat March 3, 2025 10:19 PM UTC

<SfAutoComplete TValue="string" @ref="AutocompleteObj" TItem="DeliveryDropOff" Placeholder="e.g. Madina" DataSource="@dropoffLines"
EnableVirtualization="true">

<AutoCompleteTemplates TItem="DeliveryDropOff">
<ItemTemplate>
<span class='name'>@((context as DeliveryDropOff).DeliveryDropOffLocation)</span>
</ItemTemplate>
<NoRecordsTemplate>
<span class='norecord'> NO DATA AVAILABLE</span>
</NoRecordsTemplate>
</AutoCompleteTemplates>
<AutoCompleteFieldSettings Value="DeliveryDropOffLocation" />
<AutoCompleteEvents TValue="string" TItem="DeliveryDropOff" OnValueSelect="@OnValueSelecthandler"
Filtering="OnFilter" />
</SfAutoComplete>



UD UdhayaKumar Duraisamy Syncfusion Team March 5, 2025 04:15 PM UTC

Hello Boot Dat,


We have validated the shared scenario by creating a MAUI Blazor Hybrid app with the provided AutoComplete code. After filtering the data and selecting a value from the popup list, the popup closes as expected. We tested this on an Android device, and for your reference, we have attached a sample and a video illustration.




If you are using an older version of Syncfusion packages, we recommend updating to the latest version (28.2.9) and checking if the issue persists. If the issue continues after upgrading, please provide the following details to help us investigate further:

  • Are you experiencing this issue on a physical Android device or only in a simulator?

  • Android device model and OS version details.

  • .NET version used in your project.

  • Does the issue occur with the latest Syncfusion version as well?

  • A modified version of the attached sample that reflects your current scenario to help us understand your integration and project configuration.

  • Steps to reproduce the issue.


These details will assist us in analyzing the issue and providing an appropriate solution.


Regards,

Udhaya Kumar D.


Attachment: BlazorMauiApp_fb98e356.zip

Loader.
Up arrow icon