@lvce-editor/explorer-view 5.13.0 → 5.14.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -2100,7 +2100,7 @@ const cancelEditCreate = async (state, keepFocus) => {
|
|
|
2100
2100
|
items
|
|
2101
2101
|
} = state;
|
|
2102
2102
|
const filteredItems = items.filter(isNormalItem);
|
|
2103
|
-
const newFocusedIndex = getFocusedIndexCancel(
|
|
2103
|
+
const newFocusedIndex = getFocusedIndexCancel(filteredItems, editingIndex);
|
|
2104
2104
|
return {
|
|
2105
2105
|
...state,
|
|
2106
2106
|
editingErrorMessage: '',
|