Is this A bug when embedding XD prototype to Adobe Portfolio?
I just noticed that when I open a page on Adobe Portfolio with embedded XD prototype, the scrollbar will automatically scroll to the location of the prototype.
Is this a bug? Thanks!
I just noticed that when I open a page on Adobe Portfolio with embedded XD prototype, the scrollbar will automatically scroll to the location of the prototype.
Is this a bug? Thanks!
UPDATE - March 10, 2020
This solution will only work outside of Adobe Porfolio due to embed code stripping enforced by Adobe.
Original Post:
An easy solution for this is to sandbox the XD iframe. Add the following line to your iframe embed code:
sandbox="allow-same-origin allow-forms allow-scripts"
The full embed code should look something like this:
<iframe width="375" height="667" src="https://xd.adobe.com/embed/.../" frameborder="0" allowfullscreen sandbox="allow-same-origin allow-forms allow-scripts"></iframe>
Already have an account? Login
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.