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

Open
#5,670 0 comments 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 1 day

Nobody has claimed this yet.

Assessment

Difficulty
3/5
Estimated time
1-2 days
Newbie friendliness
57/100
Issue type
Bug
Clarity
Mostly clear
Activity status
Active
Tech stack
csharp
Domain
frontend

Research direction

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.

Written by the indexing model from the issue text.

Description

🐛 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

Dominant language
C#
Stars
4.9k
Forks
497
Avg merge
1d 1h
Merged PRs (30d)
47

Getting set up

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from microsoft/fluentui-blazor

All issues in microsoft/fluentui-blazor

Similar issues

More C# issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.