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
feat: make list items tab focusable
thecodrrba9a1d89dd50
diff --git a/apps/web/src/components/list-item/index.js b/apps/web/src/components/list-item/index.jsindex 9e0435052..bef78e51d 100644--- a/apps/web/src/components/list-item/index.js+++ b/apps/web/src/components/list-item/index.js@@ -90,6 +90,7 @@ function ListItem(props) {openContextMenu(e, menuItems, props.menu.extraData, false)}p={2}+ tabIndex={props.index}justifyContent="center"sx={{height: "inherit",@@ -100,6 +101,16 @@ function ListItem(props) {":hover": {backgroundColor: shade,},+ ":focus": {+ outline: "none",+ },+ ":focus-visible": {+ border: "1px solid",+ borderColor: "primary",+ },+ }}+ onKeyPress={(e) => {+ if (e.key === "Enter") e.target.click();}}flexDirection="column"onClick={() => {