Closing Blazor Dropdown/AutoComplete "steals" focus #699

Closed
opened 2026-01-29 17:41:47 +00:00 by claunia · 1 comment
Owner

Originally created by @matjankow on GitHub (Jan 17, 2023).

Description
Using the Radzen AutoComplete and clicking in another text field sets the cursor back to the original autocomplete.

To Reproduce
Steps to reproduce the behavior:

  1. Go to https://blazor.radzen.com/autocomplete sample
  2. Click into the first AutoComplete top left labeled "AutoComplete", type something
  3. Click into another AutoComplete, e,g the one labeled "Custom filtering"
  4. -> Cursor is back to the first AutoComplete

Expected behavior
Cursor stays in the control last clicked

Desktop (please complete the following information):

  • OS: Windows
  • Browser Chrome
  • Version 4.5.3
Originally created by @matjankow on GitHub (Jan 17, 2023). **Description** Using the Radzen AutoComplete and clicking in another text field sets the cursor back to the original autocomplete. **To Reproduce** Steps to reproduce the behavior: 1. Go to https://blazor.radzen.com/autocomplete sample 2. Click into the first AutoComplete top left labeled "AutoComplete", type something 3. Click into another AutoComplete, e,g the one labeled "Custom filtering" 4. -> Cursor is back to the first AutoComplete **Expected behavior** Cursor stays in the control last clicked **Desktop (please complete the following information):** - OS: Windows - Browser Chrome - Version 4.5.3
Author
Owner

@matjankow commented on GitHub (Jan 19, 2023):

The same happens with a DropDown etc., seems to be a change in the closePopup JavaScript.

To Reproduce

  1. Page with a RadzenDropDown and a RadzenText
  2. Open the dropdown for the RadzenDropDown
  3. Click into the RadzenText control
    -> Focus goes back to the RadzenDropDown
@matjankow commented on GitHub (Jan 19, 2023): The same happens with a DropDown etc., seems to be a change in the closePopup JavaScript. *To Reproduce* 1. Page with a RadzenDropDown and a RadzenText 2. Open the dropdown for the RadzenDropDown 3. Click into the RadzenText control -> Focus goes back to the RadzenDropDown
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/radzen-blazor#699