Closing Blazor Dropdown without selection "steals" focus #710

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

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

Description
Using the Radzen Dropdown and clicking in another text field withou selecting an item sets the cursor out of the textfield.

To Reproduce
Steps to reproduce the behavior (see attached sample)

  • Open the drodown on the left (do not select an item)
  • Click into the textarea on the right

-> Cursor is gone from the textarea (I assume back to the DropDown)

Expected behavior
Cursor stays in the control last clicked

OS: Windows
Browser: Chrome
Version 4.6.2

FocusBugRepro.zip

Originally created by @matjankow on GitHub (Jan 25, 2023). **Description** Using the Radzen Dropdown and clicking in another text field withou selecting an item sets the cursor out of the textfield. **To Reproduce** Steps to reproduce the behavior (see attached sample) - Open the drodown on the left (do not select an item) - Click into the textarea on the right -> Cursor is gone from the textarea (I assume back to the DropDown) **Expected behavior** Cursor stays in the control last clicked OS: Windows Browser: Chrome Version 4.6.2 [FocusBugRepro.zip](https://github.com/radzenhq/radzen-blazor/files/10499549/FocusBugRepro.zip)
Author
Owner

@enchev commented on GitHub (Jan 25, 2023):

Fixed in 7455d1bfb2

@enchev commented on GitHub (Jan 25, 2023): Fixed in https://github.com/radzenhq/radzen-blazor/commit/7455d1bfb255afe543f1eb1c090ab6bb7a6d079a
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/radzen-blazor#710