Skip to main content

Iframe with HTML5 Viewer takes focus on page and forces page to jump to iframe on load.

Comments

2 comments

  • Permanently deleted user

    I had the same problem with the viewer stealing focus as well. My workaround for this was to use the iframe's 'sandbox' attribute. 

    https://www.w3schools.com/tags/att_iframe_sandbox.asp

    0
  • Ali VanSickle

    Thanks for the info. 

    I tried using the Sandbox attribute and it does solve the focus issue, but leads to some viewer issues, so unfortunately this won't work for us.

     

     

    I will continue to look for a workaround.
    0

Please sign in to leave a comment.