Unplanned
Last Updated: 31 Jul 2026 06:46 by Sebastian
Sebastian
Created on: 31 Jul 2026 06:46
Category: PDFViewer
Type: Bug Report
1
PdfViewer Zoom FitToWidth is not working as expected
  • The PDF Viewer does not display the initial file if Zoom is set to FitToWidth or FitToPage. This is due to --scale-factor: NaN; --total-scale-factor: NaN; set on the PDF Viewer element.
  • If the PDF Viewer initially shows with no loaded file, setting Zoom to FitToWidth or FitToPage initially or after opening a file leads to infinity zoom due to --scale-factor: Infinity; --total-scale-factor: Infinity; set on the PDF Viewer element.

The only scenario that works is to set the initial Zoom to a numeric value and have an open file by default.

0 comments