Merge pull request #13706 from calixteman/13697

XFA - Keep xfa layer on top of the others (bug 1719629)
This commit is contained in:
calixteman 2021-07-09 20:10:39 +02:00 committed by GitHub
commit 90e527968a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -496,6 +496,11 @@ class PDFPageView {
div.appendChild(textLayerDiv);
}
if (this.xfaLayer?.div) {
// The xfa layer needs to stay on top.
div.appendChild(this.xfaLayer.div);
}
textLayer = this.textLayerFactory.createTextLayerBuilder(
textLayerDiv,
this.id - 1,