How can I help you?
Prevent Scrolling in Blazor PDF Viewer
28 Aug 20251 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>