Skip to content

Commit

Permalink
Allow apps to open popups
Browse files Browse the repository at this point in the history
  • Loading branch information
pawelromanskidajar committed May 9, 2024
1 parent e02050a commit ec5f25e
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions .changeset/four-dragons-remain.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"saleor-dashboard": minor
---

Allow apps to open popups
2 changes: 1 addition & 1 deletion src/apps/components/AppFrame/AppIFrame.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ const _AppIFrame = forwardRef<HTMLIFrameElement, AppIFrameProps>(
onLoad={onLoad}
onError={onError}
className={className}
sandbox="allow-same-origin allow-forms allow-scripts"
sandbox="allow-same-origin allow-forms allow-scripts allow-popups allow-popups-to-escape-sandbox"
/>
);
},
Expand Down

0 comments on commit ec5f25e

Please sign in to comment.