-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix potential focus restoration issue when saving a todo
- Loading branch information
Showing
4 changed files
with
25 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -135,6 +135,9 @@ | |
}, | ||
"packageManager": "[email protected]", | ||
"pnpm": { | ||
"patchedDependencies": { | ||
"[email protected]": "patches/[email protected]" | ||
}, | ||
"peerDependencyRules": { | ||
"ignoreMissing": [ | ||
"vite" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
diff --git a/dist/use-editable.es.js b/dist/use-editable.es.js | ||
index 96b260cf6b3b167b640bf903a9dbae652e883d31..05a6c055433839b332eb52b6809adf3e7ebd9f59 100644 | ||
--- a/dist/use-editable.es.js | ||
+++ b/dist/use-editable.es.js | ||
@@ -174,7 +174,7 @@ export function useEditable(c, a, b) { | ||
} | ||
return h; | ||
} | ||
- })); | ||
+ }), [ c, a, b.disabled, e, e.disconnected, e.observer, e.position ]); | ||
useLayoutEffect((function() { | ||
if (!c.current || b.disabled) { | ||
e.history.length = 0, e.historyAt = -1; |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.