fix: fix the empty input with ⌘+Down (#1977)
This commit is contained in:
@@ -90,6 +90,10 @@ export default function Input({
|
||||
}
|
||||
}
|
||||
|
||||
if (newIndex == historyIndex) {
|
||||
return;
|
||||
}
|
||||
|
||||
// Update index and value
|
||||
setHistoryIndex(newIndex);
|
||||
if (newIndex === -1) {
|
||||
|
||||
Reference in New Issue
Block a user