Completed
Last Updated: 02 Oct 2024 14:00 by ADMIN

Open the PDF Viewer component online demo and click the download button:

Expected - the PDF must be downloaded.

Current - the file is not downloaded.

Unplanned
Last Updated: 26 Sep 2024 07:30 by Thomas

After clicking the Print button, the pages are ordered incorrectly. Can be seen in the preview window.

Steps to reproduce:

1. Open https://demos.telerik.com/blazor-ui/pdfviewer/overview

2. Click the Print button

Duplicated
Last Updated: 16 Sep 2024 12:39 by ADMIN
Created by: Matthijs
Comments: 1
Category: PDFViewer
Type: Bug Report
0

We're currently working on requiring a Google CASA Security Assessment, as part of this they scanned our site. 

However, the scan found an eval() function in the telerik-blazor.js file:

if(_util.isNodeJS){const worker=eval("require")(this.workerSrc);return worker.WorkerMessageHandler}

 

Is it possible to remove eval() from telerik-blazor.js?

 
Unplanned
Last Updated: 28 Aug 2024 12:49 by Sam

When the user scrolls the PDF Viewer down and then opens another PDF file, the new document should display on the first page. Currently, the new file displays scrolled to the page from the previous file and the user must scroll to the top manually.

===

A possible workaround is to scroll the PDF file with JavaScript in the PDF Viewer OnOpen event:

 

@inject IJSRuntime js

<TelerikPdfViewer Data="@PdfSource"
                  Height="600px"
                  OnOpen="@OnPdfViewerOpen"
                  Class="@PdfViewerClass">
</TelerikPdfViewer>

<script suppress-error="BL9992">
    function scrollPdfToTop(selector) {
        var pdfCanvas = document.querySelector(selector);
        if (pdfCanvas) {
            pdfCanvas.scrollTop = 0;
        }
    }
</script>

@code {
    private byte[]? PdfSource { get; set; }

    private string PdfViewerClass { get; set; } = "scrollable-pdf-viewer";

    private async Task OnPdfViewerOpen()
    {
        await js.InvokeVoidAsync("scrollPdfToTop", $".{PdfViewerClass} .k-pdf-viewer-canvas");
    }
}

 

Completed
Last Updated: 26 Aug 2024 13:50 by ADMIN
Release 2024 Q2 (May)
Created by: Srdjan
Comments: 13
Category: PDFViewer
Type: Bug Report
19
If you compare the print quality against the Kendo UI jQuery PDF viewer, the quality difference is night and day. We did not investigate what is happening under the hood in both components. However, the same printing dialog appears when printing via both components and both of them are web components, which indicates to us, that this issue is not related to the browser.
Completed
Last Updated: 05 Aug 2024 13:31 by ADMIN
Release 6.1.0
The ZoomChanged event doesn't fire when the user clicks on the zoom in/out buttons or selects a new zoom level from the ComboBox.
Unplanned
Last Updated: 06 Jun 2024 08:18 by Ron
Open a PDF file in the PDF Viewer. Tap the magnifier icon to initiate the search. Start typing, the component freezes. 
Unplanned
Last Updated: 29 Apr 2024 17:47 by David
Created by: Simon
Comments: 6
Category: PDFViewer
Type: Bug Report
6

Hallo,

i want to Render PDF Files with the PDF Viewer Component.

The Data of the PDF is already fetched from the API when the PDF-Viewer starts Rendering the Loading animation appears and freezes.

After a few Seconds the PDF will be Rendered.

The size of the PDF File is about 5MB.

 

 


Completed
Last Updated: 22 Apr 2024 16:08 by ADMIN
Release 2024 Q2 (May)
I am opening a standard PDF document and it is not properly displayed in the PDF Viewer. For example, you can see the logo and the table borders but the text of the PDF is missing. If you open the same document in a normal Adobe viewer it is fine.
Completed
Last Updated: 05 Mar 2024 06:55 by ADMIN
Release 2024 Q2 (May)
Created by: Bjørnar
Comments: 0
Category: PDFViewer
Type: Bug Report
22

If the PdfViewer is initialized with a default document, the display performance of this document will be a lot worse, compared to PDF documents that are loaded programmatically after the component is already on the web page.

 

Unplanned
Last Updated: 10 Mar 2023 09:20 by Miroslav
Created by: Miroslav
Comments: 0
Category: PDFViewer
Type: Bug Report
3

When you search for a term, the document is not scrolled. Also when the user inserts a search term and clicks Enter the document is scrolled to the second match instead of the first one.

Unplanned
Last Updated: 27 Jan 2023 15:21 by Miroslav

The loading animation is visible only when a user opens a file from the Toolbar of the component. When programmatically opening a file, the loader is not shown. 

 

Unplanned
Last Updated: 27 Jan 2023 12:38 by Thomas
I want to set the Data of a PDFViewer from the OnRowClick event handler. If I use the ReadAllBytesAsync() method, the PDF viewer does not render the PDF document. I need to use the synchronous version (ReadAllBytes) to make this work.
Unplanned
Last Updated: 07 Dec 2022 14:51 by Helmut

Set the PdfViewer document (data) value to null. As a result, an endless loader will appear.

===

ADMIN EDIT

===

A possible workaround for the time being is to re-initialize the component after clearing the file: https://blazorrepl.telerik.com/cHYwQola24zzBOAd02.