Prevent the PDF from scrolling and remove the vertical scrollbar

9 Feb 20231 minute to read

To prevent a PDF from scrolling and remove the vertical scroll bar in the Syncfusion Blazor PDF Viewer component, use CSS to set the overflow property of the component container to hidden.

By setting the overflow property to hidden, the PDF viewer component will be displayed without a vertical scrollbar, and the user will not be able to scroll the content of a PDF.

<style>
    .e-pv-viewer-container {
        overflow: hidden !important;
    }
</style>

View Sample in GitHub