Hi, is there anything we need to add? Cant seem to see the pdf but downlo

hi,

is there anything we need to add? Cant seem to see the pdf but download button works fine.

using version 1.0.1 of this.

did it as per example

public DashboardView() {
	PdfViewer pdfViewer = new PdfViewer();
    pdfViewer.setSizeFull();
    StreamResource resource = new StreamResource("example.pdf", () -> getClass().getResourceAsStream("/pdf/example.pdf"));
    pdfViewer.setSrc(resource);
    add(pdfViewer);    
}

Hello, please make sure that the pdfViewer’s containing layout has
setSizeFull() set as well.

Hello,

I cant seem to upload any attachement here. So i posted a issue in github.
https://github.com/vaadin-component-factory/vcf-pdf-viewer-flow/issues/9

Ok, thanks, let’s continue the conversation there.