Skip to content

feat(PdfReader): render white page #7355

@HarpunDK

Description

@HarpunDK

Is there an existing issue for this?

  • I have searched the existing issues

Is your feature request related to a problem? Please describe the problem.

Hi BootstrapBlazor

I'm having issues with your PdfReader. Here is my detailed report with attached video and also an attached example.

Please let me know, if you need more information.

  1. After setting the content of the reader. In certain situations, the content of the pages are not showed/displayed.
    I've attached an example, showing a bit of my workflow, but this triggers the issue.
    I'm using StateHasChanged - and thought that this might cause the issue. I'm also using layers (z-index) over the PdfReader - this could also trigger the issue.

I think it's fair if you say this flow is not supported.

Let me at least try and show you the issue:

This sample repo: https://github.com/HarpunDK/BootstrapBlazorPdfReaderSample

2025-12-17_08-11-51.mp4

Please also notice the "print" button. See "Description below".

Describe the solution you'd like

The content of the pages is not displayed/rendered until you scroll or activate an action inside the reader.

This could be solved with and "Refresh" method, possible with a delay. I'm also experiencing this with a modal - when modal is displayed and content is being "lazy-binded" the pages or view stays blank.

Print-button
Another thing: The "Print"-button. Is this just a "simple" print() of the whole page - one would expect it to print only the pdf displayed inside the reader - the download is working just fine, but print is including the whole web-page. With the printer icon inside the reader - one would expect to only print the content inside the reader.

Additional context

No response

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions