From d1d1e61392ced3db934fe0a810933a3c56c77e95 Mon Sep 17 00:00:00 2001 From: mertsincan Date: Mon, 18 Dec 2023 17:07:16 +0000 Subject: [PATCH] Fixed #4924 - DataTable or Column leak computed properties to their children through VirtualScroller --- components/lib/basecomponent/BaseComponent.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/lib/basecomponent/BaseComponent.vue b/components/lib/basecomponent/BaseComponent.vue index 884db1e60..fa3b2267e 100644 --- a/components/lib/basecomponent/BaseComponent.vue +++ b/components/lib/basecomponent/BaseComponent.vue @@ -202,7 +202,7 @@ export default { return this.unstyled !== undefined ? this.unstyled : this.$config?.unstyled; }, $params() { - const parentInstance = this.$parentInstance || this.$parent; + const parentInstance = this._getHostInstance(this) || this.$parent; return { instance: this,