Strange Tabbing behaviour on some varieties of RadzenDropDown #939

Open
opened 2026-01-29 17:46:36 +00:00 by claunia · 2 comments
Owner

Originally created by @mkrso on GitHub (Jul 25, 2023).

Describe the bug
When tabbing out of a RadzenDropdown, the focus moves to an unexpected control (a control that belongs to the browser, not to the web page)

To Reproduce
Steps to reproduce the behavior:

  1. In Chrome or Edge, go to https://blazor.radzen.com/dropdown-custom-objects
  2. Click on "Virtualization","Filtering", "Grouping" or "Custom Object Bindings" in the left side navigation menu
  3. Click on the first dropdown of the page (so that it expands)
  4. Press the Tab key on the keyboard
  5. Note that the focus has moved to an element of the browser window (in my case, the "Search Tabs" button on the top right corner of the Chrom window title)

Expected behavior
The focus should move to the next element on the page.
Note: For some reason the "Single selection" and "Multiple selection" examples show the expected behavior

Desktop (please complete the following information):

  • OS: Windows 11 22H2
  • Browser Chrome 114.0.5735.199, Edge 115.0.1901.183
Originally created by @mkrso on GitHub (Jul 25, 2023). **Describe the bug** When tabbing out of a RadzenDropdown, the focus moves to an unexpected control (a control that belongs to the browser, not to the web page) **To Reproduce** Steps to reproduce the behavior: 1. In Chrome or Edge, go to https://blazor.radzen.com/dropdown-custom-objects 2. Click on "Virtualization","Filtering", "Grouping" or "Custom Object Bindings" in the left side navigation menu 3. Click on the first dropdown of the page (so that it expands) 4. Press the Tab key on the keyboard 5. Note that the focus has moved to an element of the browser window (in my case, the "Search Tabs" button on the top right corner of the Chrom window title) **Expected behavior** The focus should move to the next element on the page. Note: For some reason the "Single selection" and "Multiple selection" examples show the expected behavior **Desktop (please complete the following information):** - OS: Windows 11 22H2 - Browser Chrome 114.0.5735.199, Edge 115.0.1901.183
Author
Owner

@mkrso commented on GitHub (Jul 3, 2024):

I've just checked again; this is still happening in 4.33.2

@mkrso commented on GitHub (Jul 3, 2024): I've just checked again; this is still happening in 4.33.2
Author
Owner

@jakubiszon commented on GitHub (Dec 27, 2024):

The same problem can be reproduced without the dropdown:

  • go to the /datagrid-simple-filter example page
  • click the calendar icon in the Birth Date column
  • focus on any element and keep pressing tab until you pass the Apply button
  • same effect is observed

That problem described is also present in firefox which handles the dropdown-popup better than chrome does.

I believe this is caused by the way the popups are rendered. They are placed as the last element in the DOM tree and using tab loops "behind the page". If I understand it correctly, there is no easy fix.

@jakubiszon commented on GitHub (Dec 27, 2024): The same problem can be reproduced without the dropdown: - go to the `/datagrid-simple-filter` example page - click the calendar icon in the *Birth Date* column - focus on any element and keep pressing tab until you pass the *Apply* button - same effect is observed That problem described is also present in firefox which handles the dropdown-popup better than chrome does. I believe this is caused by the way the popups are rendered. They are placed as the last element in the DOM tree and using tab loops "behind the page". If I understand it correctly, there is no easy fix.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/radzen-blazor#939