We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cc9cf7f commit e36aa16Copy full SHA for e36aa16
packages/runtime-dom/src/patchProp.ts
@@ -114,7 +114,7 @@ function shouldSetAsProp(
114
// #13946 iframe.sandbox should always be set as attribute since setting
115
// the property to null results in 'null' string, and setting to empty string
116
// enables the most restrictive sandbox mode instead of no sandboxing.
117
- if (key === 'sandbox') {
+ if (key === 'sandbox' && el.tagName === 'IFRAME') {
118
return false
119
}
120
0 commit comments