File tree Expand file tree Collapse file tree 2 files changed +5
-2
lines changed
packages/runtime-vapor/src Expand file tree Collapse file tree 2 files changed +5
-2
lines changed Original file line number Diff line number Diff line change @@ -405,7 +405,7 @@ export function setupComponent(
405405 ) {
406406 const root = getRootElement (
407407 instance . block ,
408- // attach attrs to dynamic fragments for applying during each update
408+ // attach attrs to root dynamic fragments for applying during each update
409409 frag => ( frag . attrs = instance . attrs ) ,
410410 false ,
411411 )
Original file line number Diff line number Diff line change @@ -33,6 +33,7 @@ import {
3333} from './dom/hydration'
3434import { getParentInstance } from './componentSlots'
3535import { isArray } from '@vue/shared'
36+ import { renderEffect } from './renderEffect'
3637
3738export class VaporFragment < T extends Block = Block >
3839 implements TransitionOptions
@@ -209,7 +210,9 @@ export class DynamicFragment extends VaporFragment {
209210 // fallthrough attrs
210211 if ( this . attrs ) {
211212 if ( this . nodes instanceof Element ) {
212- applyFallthroughProps ( this . nodes , this . attrs )
213+ renderEffect ( ( ) =>
214+ applyFallthroughProps ( this . nodes as Element , this . attrs ! ) ,
215+ )
213216 } else if (
214217 __DEV__ &&
215218 // preventing attrs fallthrough on slots
You can’t perform that action at this time.
0 commit comments