-
Notifications
You must be signed in to change notification settings - Fork 344
Closed
Description
Environment:
- Elements version:
- 25.1.0
- 21.0.0
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-elementspackage 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.
Metadata
Metadata
Assignees
Labels
No labels