Environment:
Desktop:
- OS: macOS 15.6.1 (24G90)
- Browser: chrome
Steps to reproduce the problem:
- Set up a project using Vite
- Install and configure
box-ui-elements package like
- Attempt to open a uploaded PDF file
- Observe that the viewer shows a loading spinner indefinitely
What is the expected behavior?
The PDF viewer should load and display the PDF file content.
What went wrong?
The viewer remains stuck in an infinite loading state and never displays the PDF.
Link to application or sample code:
<ContentExplorerComponent
canShare={false}
canPreview={true}
canUpload={false}
canCreateNewFolder={false}
contentPreviewProps={{
contentSidebarProps: {
detailsSidebarProps: {
hasProperties: false,
hasNotices: false,
hasAccessStats: false,
hasClassification: false,
hasRetentionPolicy: false,
},
hasActivityFeed: false,
hasMetadata: false,
hasSkills: false,
hasVersions: false,
},
}}
rootFolderId={rootFolderId || 0}
token={token}
logoUrl=""
onDownload={handleDownload}
/>
Expected behavior
The PDF viewer should load and display the PDF file content.
Additional context
Environment:
Desktop:
Steps to reproduce the problem:
box-ui-elementspackage likeWhat is the expected behavior?
The PDF viewer should load and display the PDF file content.
What went wrong?
The viewer remains stuck in an infinite loading state and never displays the PDF.
Link to application or sample code:
Expected behavior
The PDF viewer should load and display the PDF file content.
Additional context