ai / ai/keyux

Demo: `Esc` hides focus instead of returns it back

未關閉
#32 2 則留言 0 個 reaction 已指派 0 人 在 GitHub 檢視
主要語言
TypeScript
星號
546
分支
28
PR 合併指標
30 天內沒有已合併 PR

描述

**OS:** Fedora 40
**Browser:** Firefox 128.0, Chromium 126.0

It seems to me that incorrect behaviour is taking place here. When the `Esc` key is pressed, the focus does not return to the body of the first element.

But I'm sure this may depend on the specific use case, so I have an idea to provide both behaviours via some "configuration" variables, if the current lib implementation makes it easy to implement this.

ER:
- return focus to the top

AR:
- hide focus

Screencast:

https://github.com/user-attachments/assets/418494a8-732b-43b3-bc24-8e17bc4a2c96

貢獻指南

這個儲存庫沒有索引到貢獻指南

評估

這個 Issue 還沒有評估資料。

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。