How can I help you?
Prevent the PDF from scrolling and remove the vertical scrollbar
1 Oct 20251 minute to read
To prevent a PDF from scrolling and remove the vertical scrollbar in the Syncfusion® Blazor SfPdfViewer component, set the container’s CSS overflow property to hidden.
Setting overflow: hidden removes scrollbars and disables user scrolling. To target only vertical scrolling, consider overflow-y: hidden.
<style>
.e-pv-viewer-container {
overflow: hidden !important;
}
</style>