Sathya

Scroll Bar Issue in Esign

0 votes
For the esign iam not able to get the iframe height based on the content of the document. If I try to fetch the content height of the esign I am getting "cross-origin error". I have 3 section element inside the iframe that is main, header and footer. I need to get the height of these 3 elements and need to sum up this for the iframe height. But i am not able to get the style elements of the esign source.

Attachments
esign3.png26.33 KB
esign2.png22.14 KB

Reply to: Scroll Bar Issue in Esign

0 votes
Hey Sathya, After doing some investigation, it seems that in order to manipulate iframe, either iframe and parent window were in the same origin or they were cross-origin but you have access to manipulate the source code within the iframe. When integrating with OneSpan Sign SaaS environment, none of the criteria were met so that it's not feasible to do it. It's the same reason why you can't use something like scrolling="no" or overflow:hidden to disable the scroll bar. In fact, it's suggested to use fixed height and let the built-in scroll bar works to browse all documents. Hope this could help! Duo

Duo Liang OneSpan Evangelism and Partner Integrations Developer


Hello! Looks like you're enjoying the discussion, but haven't signed up for an account.

When you create an account, we remember exactly what you've read, so you always come right back where you left off