Skip to content

Commit 6320115

Browse files
committed
Use popper v1
1 parent aedecba commit 6320115

2 files changed

Lines changed: 3 additions & 1 deletion

File tree

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@
5656
"onenoteapi": "1.1.0",
5757
"onenotepicker": "1.0.6",
5858
"pdfjs-dist": "1.6.422",
59-
"popper.js": "v1.0.0-beta.4",
59+
"popper.js": "1.0.0",
6060
"qunitjs": "1.20.0",
6161
"rangy": "1.3.0",
6262
"run-sequence": "1.2.2",

src/scripts/clipperUI/components/popover.tsx

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,8 @@ class PopoverClass extends ComponentBase<{}, PopoverProps> {
6969
if (parent) {
7070
// We want to set the parent lower in the HTML hierarchy to avoid z-index issues relating to stacking contexts
7171
parent.appendChild(popperElement);
72+
} else {
73+
document.body.appendChild(popperElement);
7274
}
7375

7476
return popperElement;

0 commit comments

Comments
 (0)