Adobe pdf embed JS effects scrolling on other parts of the application.

New Here ,
Mar 24, 2021 Mar 24, 2021

Copy link to clipboard

Copied

Hello,

 

I've been using Adobe PDF-EMBED API to show pdf on my application. My application serves other purposes also. Showing PDF is just a part of it. 

Element.scrollIntoView()

This scrollIntoView method from Web API is being used in several places in my application. But after using  Adobe PDF-EMBED API, this scrolling is not working as expected as before. I've investigated the source files of the documentcloud.adobe.com  from browser. What I saw is scrollIntoView is overriden which effect other parts of my application.

n.prototype.scrollIntoView = function () {...}

 So, how to prevent this, so that other parts of my application do not get effected.

Application: Angular 8 

Views

18

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
no replies

Have something to add?

Join the conversation