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 ad8d0be commit af95c6cCopy full SHA for af95c6c
packages/runtime-core/src/componentRenderUtils.ts
@@ -135,7 +135,7 @@ export function renderComponentRoot(
135
136
if (fallthroughAttrs && inheritAttrs !== false) {
137
const { shapeFlag, type, props } = root
138
-
+ // fix #8969 should not fallthrough attr if it has been declared as a prop in the root component
139
if (shapeFlag & ShapeFlags.COMPONENT && props) {
140
Object.keys(fallthroughAttrs).forEach(key => {
141
if (key in props) {
0 commit comments