Skip to content

Commit

Permalink
Merge pull request #276 from mgreminger/focus-fixes
Browse files Browse the repository at this point in the history
fix: return focus to mathfield when returning to tab
  • Loading branch information
mgreminger authored Sep 24, 2024
2 parents b0d5261 + a26f1e1 commit 4aae388
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 7 deletions.
12 changes: 6 additions & 6 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@
"idb-keyval": "^6.2.0",
"mathjax": "^3.2.2",
"mathjs": "^11.8.2",
"mathlive": "github:mgreminger/mathlive#2398c671d7d66871f9d76333d76d29ff530ce733",
"mathlive": "github:mgreminger/mathlive#05347383c43787feafba5bb48f51b3e3389ed641",
"plotly.js-basic-dist": "github:mgreminger/plotly.js#dist-basic-for-ep",
"quick-lru": "^6.1.1",
"quill": "^1.3.7",
Expand Down
1 change: 1 addition & 0 deletions src/App.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -620,6 +620,7 @@
modalInfo.modalOpen = false;
sideNavOpen = false;
fileDropActive = false;
document.body.click();
break;
case "Enter":
if ($activeCell < 0 && event.shiftKey && !modalInfo.modalOpen) {
Expand Down

0 comments on commit 4aae388

Please sign in to comment.