-
Notifications
You must be signed in to change notification settings - Fork 139
Description
Hi Team,
We are using the Adobe PDF Embed SDK (View SDK) to render PDFs in our web application.
Issue:
On small screen devices , the "Find in Document" (search) input box overflows outside the container div and breaks the layout.
Implementation Details:
- Using AdobeDC.View (PDF Embed SDK)
- embedMode: ""
defaultViewMode: "FIT_PAGE", - Rendering inside a responsive container
Sample Code:
const adobeDCView = new AdobeDC.View({
clientId: "<CLIENT_ID>",
divId: "pdf-div"
});
adobeDCView.previewFile({
content: { location: { url: "<PDF_URL>" } },
metaData: { fileName: "sample.pdf" }
}, {
embedMode: "SIZED_CONTAINER",
showDownloadPDF: false,
showPrintPDF: false,
showLeftHandPanel: false
});
Steps to Reproduce:
- Load PDF using Adobe Embed SDK inside a container
- Open on simulate small screen
- Click on search (Find option)
- Observe search box UI
Actual Result:
- Search input box overflows outside the container
- UI is not responsive within the parent div
Expected Result:
- Search UI should stay within container bounds
- Proper responsive behavior on small screens
Observation:
The search UI seems to be rendered within Adobe’s internal iframe layer and does not respect container boundaries. We are unable to control this via CSS.
Request:
-
- Let us know if a fix is planned
Thanks.