1
0
Fork 0
mirror of https://github.com/mozilla/pdf.js.git synced 2025-04-22 16:18:08 +02:00

Popup trigger area must filled its parent (fix #15063)

This commit is contained in:
Calixte Denizet 2022-06-19 22:44:58 +02:00
parent 45de73bd00
commit 2ff65dd514
2 changed files with 6 additions and 2 deletions

View file

@ -418,8 +418,7 @@ class AnnotationElement {
// If no trigger element is specified, create it.
if (!trigger) {
trigger = document.createElement("div");
trigger.style.height = container.style.height;
trigger.style.width = container.style.width;
trigger.className = "popupTriggerArea";
container.append(trigger);
}