Skip to content

Commit

Permalink
Add z-index to Tribute configuration (#307)
Browse files Browse the repository at this point in the history
* Remove hardcoded zIndex value from menu container in Tribute

* Compiled files after removing hardcoded zIndex from Tribute menu container
  • Loading branch information
iskandiar authored and mrsweaters committed Oct 3, 2019
1 parent 828ba24 commit 10b9354
Show file tree
Hide file tree
Showing 5 changed files with 3 additions and 7 deletions.
2 changes: 1 addition & 1 deletion dist/tribute.js

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

2 changes: 0 additions & 2 deletions dist/tribute.js.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/tribute.min.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/tribute.min.js.map

Large diffs are not rendered by default.

2 changes: 0 additions & 2 deletions src/TributeRange.js
Original file line number Diff line number Diff line change
Expand Up @@ -39,13 +39,11 @@ class TributeRange {
coordinates = this.getContentEditableCaretPosition(info.mentionPosition)
}


this.tribute.menu.style.cssText = `top: ${coordinates.top}px;
left: ${coordinates.left}px;
right: ${coordinates.right}px;
bottom: ${coordinates.bottom}px;
position: absolute;
z-index: 10000;
display: block;`

if (coordinates.left === 'auto') {
Expand Down

0 comments on commit 10b9354

Please sign in to comment.