fix: {Shift}+R in DataGrid ColumnOptions --> Filter

Abierto
#5,670 0 comentarios 0 reacciones 0 asignados Ver en GitHub

Los mantenedores suelen responder en 1 día

Nadie ha tomado este issue todavía.

Evaluación

Dificultad
3/5
Tiempo estimado
1-2 días
Aptitud para principiantes
57/100
Tipo de issue
Error
Claridad
Bastante claro
Estado de actividad
Activo
Stack tecnológico
csharp
Área
frontend

Línea de trabajo

Start by reproducing the issue on the DataGrid CustomComparerSort demo: open the Name column filter and type a capital R. Read the DataGrid ColumnOptions keyboard shortcut handling and its tests, if available, to find how Shift+R closes the menu. Done when typing capital R in the filter keeps the menu open and the search input focused.

Escrito por el modelo de indexación a partir del texto del issue.

Descripción

🐛 Bug Report

When Filtering via the Column Headers Keyboard Shortcuts dont seem to be disabled. So for specfici combinations even on the fluent ui blazor sample page it will close the menu / lose focus:
Combinations:
{Shift}+r (Capital R) --> Closes the menu
{Shift}+ # --> Focuses the search bar on the demo site

💻 Repro or Code Sample

Fluent UI Demo Site: https://www.fluentui-blazor.net/DataGrid/CustomComparerSort
--> First example filter for Name and type Capital R anywhere in the search box

<PropertyColumn Filtered="(!string.IsNullOrEmpty(Model.Filter1))" Title="Auftrags Nr" Property="@(c => c!.U_CODE)" Sortable="false"> <ColumnOptions> <FluentTextInput Immediate="true" TextInputType="TextInputType.Search" Autofocus=true @bind-Value=Model.Filter1 Placeholder="Code" /> </ColumnOptions> </PropertyColumn>

🤔 Expected Behavior

Capital R instead of the header menu closing

😯 Current Behavior

Header menu closes

💁 Possible Solution

Either it conflicts with the shortcuts for sorting multiple columns, or it should block other inputs when it is in focus like a modal dialog

🔦 Context

A developer can search and know that lowercase r is fine, but end users will press Shift =)

🌍 Your Environment

.net 11
Edge + Firefox
Fluent UI V5.1
VS 2026

Lenguaje dominante
C#
Estrellas
4.9k
Forks
497
Merge medio
1 d 1 h
PR fusionados (30 d)
47

Preparar el entorno

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Más de microsoft/fluentui-blazor

Todos los issues de microsoft/fluentui-blazor

Issues similares

Más issues de C#

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.