Skip to content

Commit

Permalink
fix mm snaps a tag (#552)
Browse files Browse the repository at this point in the history
  • Loading branch information
BrettCleary authored Sep 25, 2023
1 parent ffc7eca commit 3302aa8
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/frontend/ExtensionManager/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ const animation = {

const ExtensionManager = function () {
const rootRef = useRef<HTMLDivElement>(null)
const trueAsStr = 'true' as unknown as boolean | undefined

/* eslint-disable react/no-unknown-property */
return (
Expand All @@ -36,6 +37,7 @@ const ExtensionManager = function () {
webpreferences="contextIsolation=true, nodeIntegration=true"
src={`chrome-extension://${extensionStore.extensionId}/popup.html`}
className={ExtensionManagerStyles.mmWindow}
allowpopups={trueAsStr}
></webview>
</motion.div>
) : null}
Expand All @@ -46,6 +48,7 @@ const ExtensionManager = function () {
webpreferences="contextIsolation=true, nodeIntegration=true"
src={`chrome-extension://${extensionStore.extensionId}/notification.html`}
className={ExtensionManagerStyles.mmWindow}
allowpopups={trueAsStr}
></webview>
</motion.div>
) : null}
Expand Down

0 comments on commit 3302aa8

Please sign in to comment.