-
Notifications
You must be signed in to change notification settings - Fork 124
Open
Description
Environment:
- Preview version: 3.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.
Additional context
- Initial issue - PDF viewer stuck in infinite loader when using package with Vite box-ui-elements#4335 (comment)
- Versions 2.95.0 and earlier does not have such issue
Metadata
Metadata
Assignees
Labels
No labels