Popup trigger area must filled its parent (fix #15063)
This commit is contained in:
parent
45de73bd00
commit
2ff65dd514
@ -418,8 +418,7 @@ class AnnotationElement {
|
|||||||
// If no trigger element is specified, create it.
|
// If no trigger element is specified, create it.
|
||||||
if (!trigger) {
|
if (!trigger) {
|
||||||
trigger = document.createElement("div");
|
trigger = document.createElement("div");
|
||||||
trigger.style.height = container.style.height;
|
trigger.className = "popupTriggerArea";
|
||||||
trigger.style.width = container.style.width;
|
|
||||||
container.append(trigger);
|
container.append(trigger);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -205,6 +205,11 @@
|
|||||||
appearance: none;
|
appearance: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.annotationLayer .popupTriggerArea {
|
||||||
|
height: 100%;
|
||||||
|
width: 100%;
|
||||||
|
}
|
||||||
|
|
||||||
.annotationLayer .popupWrapper {
|
.annotationLayer .popupWrapper {
|
||||||
position: absolute;
|
position: absolute;
|
||||||
font-size: calc(9px * var(--scale-factor));
|
font-size: calc(9px * var(--scale-factor));
|
||||||
|
Loading…
Reference in New Issue
Block a user