mirror of
https://github.com/mountain-loop/yaak.git
synced 2026-12-03 21:44:10 +01:00
Merge remote-tracking branch 'origin/master'
This commit is contained in:
commit
4479164321
3 files changed
+383
-27
No files matched your search
@@ -25,6 +25,8 @@ export function RecentRequestsDropdown({ className }: Props) {
|
||||
const [recentRequestIds] = useRecentRequests();
|
||||
|
||||
// Handle key-up
|
||||
// TODO: Somehow make useHotKey have this functionality. Note: e.key does not work
|
||||
// on Linux, for example, when Control is mapped to CAPS. This will never fire.
|
||||
useKeyPressEvent('Control', undefined, () => {
|
||||
if (!dropdownRef.current?.isOpen) return;
|
||||
dropdownRef.current?.select?.();
|
||||
|
||||
Reference in new issue
Block a user