RadzenDropDown Not Automatically Focus on SearchBox When Opening DropDown #71

Closed
opened 2026-01-29 17:31:07 +00:00 by claunia · 4 comments
Owner

Originally created by @farshaddavoudi on GitHub (Mar 23, 2021).

Describe the bug
RadzenDropDown component works nicely, except for not focusing on the search box when opening the dropdown. It works in the demo page, but not works on my device with multi tests.

To Reproduce
Steps to reproduce the behavior:

  1. Add Radzen to a new VS hosted web assembly template project
  2. Check it out

Expected behavior
Focus on Searchbox automatically when opening dropdown.

Desktop (please complete the following information):

  • OS: Windows 10 64Bit
  • Browser Chrome 89.0.4389.90
  • Visual Studio 16.9.2 community
  • .Net 5
  • Web Assembly Hosted model of VS template project
  • Radzen.Blazor 3.1.7
Originally created by @farshaddavoudi on GitHub (Mar 23, 2021). **Describe the bug** RadzenDropDown component works nicely, except for not focusing on the search box when opening the dropdown. It works in the demo page, but not works on my device with multi tests. **To Reproduce** Steps to reproduce the behavior: 1. Add Radzen to a new VS hosted web assembly template project 2. Check it out **Expected behavior** Focus on Searchbox automatically when opening dropdown. **Desktop (please complete the following information):** - OS: Windows 10 64Bit - Browser Chrome 89.0.4389.90 - Visual Studio 16.9.2 community - .Net 5 - Web Assembly Hosted model of VS template project - Radzen.Blazor 3.1.7
Author
Owner

@enchev commented on GitHub (Mar 25, 2021):

Hey @fericode,

Indeed it works normally on our demo. You can attach the source code to debug why it's not working for you.

@enchev commented on GitHub (Mar 25, 2021): Hey @fericode, Indeed it works normally on our demo. You can attach the source code to debug why it's not working for you.
Author
Owner

@farshaddavoudi commented on GitHub (Mar 25, 2021):

Hi again @enchev
Thanks for the reply. I get the source code and from the first look, I suspected the issue cause is Blazor Server. I created the same VS Blazor template project as I described above, with the exact same config, but this time I chose Blazor Server instead of Blazor Web Assembly and it worked in my machine like the source code which is in Blazor Server too.
I believe the issue would happen only in Web Assembly mode. Can you check it out, please?

@farshaddavoudi commented on GitHub (Mar 25, 2021): Hi again @enchev Thanks for the reply. I get the source code and from the first look, I suspected the issue cause is Blazor Server. I created the same VS Blazor template project as I described above, with the exact same config, but this time I chose Blazor Server instead of Blazor Web Assembly and it worked in my machine like the source code which is in Blazor Server too. I believe the issue would happen only in Web Assembly mode. Can you check it out, please?
Author
Owner

@stcpottdav commented on GitHub (Jul 19, 2021):

This issues still seems to happen in the latest release when running under Blazor Web Assembly. It does not happen when running under Blazor Server. Is there a reason this issue was closed?

@stcpottdav commented on GitHub (Jul 19, 2021): This issues still seems to happen in the latest release when running under Blazor Web Assembly. It does not happen when running under Blazor Server. Is there a reason this issue was closed?
Author
Owner

@farshaddavoudi commented on GitHub (Jul 19, 2021):

Hi @stcpottdav
Unfortunately, this issue still exists, and because I do not have the time and maybe the knowledge to fix the issue and the owner relied on me to fix it (I believe it was the reason to close the issue!), I use another package for my dropdowns in Blazor WebAssembly.
Thanks

@farshaddavoudi commented on GitHub (Jul 19, 2021): Hi @stcpottdav Unfortunately, this issue still exists, and because I do not have the time and maybe the knowledge to fix the issue and the owner relied on me to fix it (I believe it was the reason to close the issue!), I use another package for my dropdowns in Blazor WebAssembly. Thanks
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/radzen-blazor#71