A fully open source & end-to-end encrypted note taking alternative to Evernote.
TypeScript asp-net-coredotnet-coreelectronfosshacktoberfestnote-managmentnote-takingnote-taking-appnotebooknotesnotes-appopen-sourceopensourceprivacyproductivityreactreact-nativereactjsself-hosted
fix: selecting items with shift + click adds 1st item as dup (fixes streetwriters/notesnook#398)
thecodrr16a552c12fdb
diff --git a/apps/web/src/components/editor/header.js b/apps/web/src/components/editor/header.jsindex b2f9494ee..5fb743bd3 100644--- a/apps/web/src/components/editor/header.js+++ b/apps/web/src/components/editor/header.js@@ -135,7 +135,6 @@ function Autosuggest({const text = getInputValue();const isFocused = document.activeElement === inputRef.current;if (isFocused && !text) setFiltered(defaultItems);- console.log(isFocused, text);}, [defaultItems, getInputValue]);useEffect(() => {diff --git a/apps/web/src/components/list-container/index.js b/apps/web/src/components/list-container/index.jsindex 354b4f165..6793d24ee 100644--- a/apps/web/src/components/list-container/index.js+++ b/apps/web/src/components/list-container/index.js@@ -66,7 +66,7 @@ function ListContainer(props) {if (isNaN(endIndex)) return;setSelectedItems([...selectionStore.get().selectedItems,- ...items.slice(focusedItemIndex.current, endIndex + 1),+ ...items.slice(focusedItemIndex.current + 1, endIndex + 1),]);listItem.firstElementChild.focus();}