fix: improve keyboard navigation handling in ClipboardHistoryPage component

This commit is contained in:
Sergey Kurdin 2025-06-23 18:47:16 -04:00
parent 864b95f7e7
commit c22d0cd3a8

View File

@ -1119,6 +1119,11 @@ export default function ClipboardHistoryPage() {
deleteTimeoutRef.current = null
}
if (itemId === keyboardSelectedItemId.value) {
resetKeyboardNavigation()
return
}
// Reset delete confirmation when navigating to a different item
showHistoryDeleteConfirmationId.value = null