Skip to content

Commit

Permalink
Merge pull request #4162 from thematters/fix/user-mention-comment-z-i…
Browse files Browse the repository at this point in the history
…ndex

fix(comment): fix z-index of user mentioning on comment editor
  • Loading branch information
robertu7 authored Jan 23, 2024
2 parents 78caa88 + 344db5e commit 535e7a9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/common/styles/vendors/tippy.css
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,7 @@
line-height: inherit;
color: inherit;
text-align: center;
background: var(--color-white);
background: transparent;
border-radius: 0;
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ export const makeMentionSuggestion = ({

popup = tippy('body', {
getReferenceClientRect: props.clientRect,
appendTo: () => document.querySelector('#editor') || document.body,
appendTo: () => document.body,
content: component.element,
showOnCreate: true,
interactive: true,
Expand Down

0 comments on commit 535e7a9

Please sign in to comment.