fix: improve keyboard navigation handling in ClipboardHistoryPage component
This commit is contained in:
parent
864b95f7e7
commit
c22d0cd3a8
@ -1119,6 +1119,11 @@ export default function ClipboardHistoryPage() {
|
|||||||
deleteTimeoutRef.current = null
|
deleteTimeoutRef.current = null
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (itemId === keyboardSelectedItemId.value) {
|
||||||
|
resetKeyboardNavigation()
|
||||||
|
return
|
||||||
|
}
|
||||||
|
|
||||||
// Reset delete confirmation when navigating to a different item
|
// Reset delete confirmation when navigating to a different item
|
||||||
showHistoryDeleteConfirmationId.value = null
|
showHistoryDeleteConfirmationId.value = null
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user