We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 93f2afa commit fb1ad4aCopy full SHA for fb1ad4a
lib/runtime/component-normalizer.js
@@ -70,7 +70,7 @@ export default function normalizeComponent (
70
options._ssrRegister = hook
71
} else if (injectStyles) {
72
hook = shadowMode
73
- ? function () { injectStyles(this.$root.$options.shadowRoot) }
+ ? function () { injectStyles.call(this, this.$root.$options.shadowRoot) }
74
: injectStyles
75
}
76
0 commit comments