Skip to content

Commit

Permalink
Merge pull request #3022 from Zum-Gluck/fix/link
Browse files Browse the repository at this point in the history
Fix link bug (#2526)
  • Loading branch information
zbeyens authored Mar 14, 2024
2 parents 01acd48 + fe070d1 commit 268d877
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .changeset/silent-games-cover.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@udecode/plate-link": patch
---

Fixes #2526
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ export const useFloatingLinkUrlInputState = () => {
if (ref.current && updated) {
setTimeout(() => {
ref.current?.focus();
ref.current!.value = floatingLinkSelectors.url();
}, 0);
}
}, [updated]);
Expand Down

0 comments on commit 268d877

Please sign in to comment.