fix: Slash is not being recognized by search in documentation

Đang mở
#5,682 0 bình luận 0 reaction 1 người được giao Xem trên GitHub

Maintainer thường phản hồi trong vòng 1 ngày

@dvoituron đang làm issue này rồi.

Từ ngày 30/11/2026.

Đánh giá

Issue này chưa được đánh giá.

Mô tả

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.

Ngôn ngữ chính
C#
Star
4.9k
Fork
497
Merge trung bình
1 ngày 1 giờ
Pull request đã merge (30 ngày)
47

Chuẩn bị môi trường

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của microsoft/fluentui-blazor

Tất cả issue của microsoft/fluentui-blazor

Issue tương tự

Thêm issue về C#

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.