I am trying to integrate the OneDrive picker with our web application and after reading Nick's answer to this question on 10/02/2015 have chosen the route of using an iframe and utilizing postMessage. So after inserting the iframe with a button to open the OneDrive Picker and selecting a file, the popup window persists with just a spinner icon and there is an error in the console r is null
. I know that, given this question having a form can cause this issue and I removed the form in the page loaded in the iframe but still see the error where window.opener == null
(see screenshot below). Has anybody else seen this before? I had a theory that the query parameters in the URL was the cause but removing those didn't appear to resolve the issue.
Debugging onedrive.js when error occurs (and popup window persists after selecting a file):
Thanks!