fix: Slash is not being recognized by search in documentation

Open
#5,682 0 comments 0 reactions 1 assignee View on GitHub

Maintainers usually reply within 1 day

@dvoituron is already working on this.

Since Nov 30, 2026.

Assessment

This issue has not been assessed yet.

Description

bug

🐛 Bug Report

The documentation contains an implemented search feature which can be triggered by pressing the slash key. However if your keyboard does not have a dedicated slash key it is impossible to trigger the search via keyboard.

A German keyboard hides the Slash by using CAPS and then the number 7. The keycode will define the key in the args as Digit7 which is excluded from the allowed keys. However the value contains the /

See:
grafik

💻 Repro or Code Sample

This can be reproduced in the demos

🤔 Expected Behavior

I expect the search to open after I pressed 7 with active Capslock just like it does on Github.

😯 Current Behavior

Nothing is happening. I can trigger it with the divide key on the numpad though.

💁 Possible Solution

The KeyCode component probably needs to get aware of different localized keyboards or a simple workaround needs to be added here.

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.