Skip to content

Commit

Permalink
Merge pull request #3204 from jijiseong/fix/floating-link-zIndex
Browse files Browse the repository at this point in the history
fix: zIndex of floating link
  • Loading branch information
felixfeng33 committed May 19, 2024
2 parents dcd80c3 + 136fb3b commit ad036f3
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 2 deletions.
5 changes: 5 additions & 0 deletions .changeset/silly-candles-return.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@udecode/plate-link": patch
---

Fix zIndex of floating link
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,7 @@ export const useFloatingLinkEdit = ({
props: {
style: {
...floating.style,
zIndex: 1,
zIndex: 50,
},
},
ref: floating.refs.setFloating,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ export const useFloatingLinkInsert = ({
props: {
style: {
...floating.style,
zIndex: 1,
zIndex: 50,
},
},
ref: useComposedRef<HTMLDivElement>(floating.refs.setFloating, ref),
Expand Down

0 comments on commit ad036f3

Please sign in to comment.