Skip to content

Commit

Permalink
fix(runtime-core): add patchFlag to element containing ref attributes
Browse files Browse the repository at this point in the history
  • Loading branch information
Alfred-Skyblue committed Sep 19, 2023
1 parent 0bdfa66 commit 1d323c9
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion packages/compiler-core/src/transforms/transformElement.ts
Original file line number Diff line number Diff line change
Expand Up @@ -747,7 +747,6 @@ export function buildProps(
}
}
if (
// #9239
hasRef ||
(!shouldUseBlock &&
(patchFlag === 0 || patchFlag === PatchFlags.HYDRATE_EVENTS) &&
Expand Down

0 comments on commit 1d323c9

Please sign in to comment.