You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Please specify what version of the library you are using: [ 1.11.0 ]
Expected / Desired Behavior / Question
I am trying to open an IFrame that is in another domain. Is that allowed with the IFrameDialog? Doing this within a webpart is allowed, but it seems to be a problem withing the dialog.
I'll get Refused to display 'https://www.google.com/maps' in a frame because it set 'X-Frame-Options' to 'sameorigin'. and the web part will look like that:
Same behavior as with the IFrameDialog
This issue has been automatically marked as stale because it has marked as requiring author feedback but has not had any activity for 7 days. It will be closed if no further activity occurs within next 7 days of this comment. Thank you for your contributions to SharePoint Developer activities.
Closing issue due no response from original author. If this issue is still occurring, please open a new issue with additional details. Notice that if you have included another related issue as additional comment on this, please open that also as separate issue, so that we can track it independently.
Category
[ ] Enhancement
[ ] Bug
[x ] Question
Version
Please specify what version of the library you are using: [ 1.11.0 ]
Expected / Desired Behavior / Question
I am trying to open an IFrame that is in another domain. Is that allowed with the IFrameDialog? Doing this within a webpart is allowed, but it seems to be a problem withing the dialog.
Observed Behavior
Dialog appears. Spinner appears. Console Errors:
SCRIPT70: Permission denied IFrameDialogContent.tsx (44,16),
SEC7120: [CORS] The origin 'https://localhost:4321' failed to allow a cross-origin document resource at 'ms-appx-web:///assets/errorpages/forbidframingedge.htm#https://www.google.com/maps?width=100%25&height=600&hl=en&q=12909+Apple+View+Lane,+Burnsville,+MN+(My+Business+Name)&ie=UTF8&t&z=14&iwloc=B&output=embed'.
Steps to Reproduce
set up the iframe dialog like this in the [webpart].tsx
<IFrameDialog
url={'https://maps.google.com/maps?width=100%&height=600&hl=en&q=12909%20Apple%20View%20Lane%2C%20Burnsville%2C%20MN+(My%20Business%20Name)&ie=UTF8&t=&z=14&iwloc=B&output=embed'}
hidden={false}
The text was updated successfully, but these errors were encountered: