Which product are you using?
PDF.js Express Viewer
PDF.js Express Version
8.7.2
Detailed description of issue
When loading a PDF that contains hidden layers, the hidden layers are also displayed on the viewer. We can replicate this issue also on the online demo. We attach an example with a simple PDF with a hidden layer.
Expected behaviour
Hidden layers should not be displayed on the viewer.
Does your issue happen with every document, or just one?
Any document with hidden layers that we have tested.
thanks for the info. We have installed version 8.7.4 and the bug still persists. Can you share any info about on what version will the bug will be patched?
This is technically a feature request, as PDF.JS doesn’t fully support layers. We will add this to our backlog to be reviewed, however, we are limited by the exposed PDF.JS APIs here.