Adobe pdf embed JS effects scrolling on other parts of the application.
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
