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 624cb19 commit bfeb2d9Copy full SHA for bfeb2d9
packages/runtime-vapor/src/components/Teleport.ts
@@ -151,7 +151,12 @@ export class TeleportFragment extends VaporFragment<Block[]> {
151
// preventing attrs fallthrough
152
// consistent with VDOM Teleport behavior
153
const instance = this.parentComponent as VaporComponentInstance
154
- if (instance.hasFallthrough && Object.keys(instance.attrs).length) {
+ // TODO: check if component root
155
+ if (
156
+ __DEV__ &&
157
+ instance.hasFallthrough &&
158
+ Object.keys(instance.attrs).length
159
+ ) {
160
warnExtraneousAttributes(instance.attrs)
161
}
162
0 commit comments