Merge remote-tracking branch 'origin/master'

This commit is contained in:
Gregory Schier
2025-01-13 12:11:42 -08:00
3 changed files with 383 additions and 27 deletions

View File

@@ -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?.();