DataTable or Column leak computed properties to their children through VirtualScroller #4924
Labels
Type: Bug
Issue contains a bug related to a specific component. Something about the component is not working
Milestone
Describe the bug
Using a DataTable > Column > Custom component structure like
Makes the custom component inherit implicit computed properties coming from the DataTable / Column Primevue components. This creates performance and name clashing issues.
Since CodeSandBox does not support Vue Dev Tools, I can only post screenshots of my local DevTools findings.
PrimeVue Component / (Inside DataTable->Column)


Custom Component (Inside Column)


The leaked properties seem to come from an implicit VirtualScroller inject

It would be great to know why this happens and if it can be prevented in any way. I'm checking the vue 2 version, and this doesn't happen there.
Reproducer
N/A
PrimeVue version
3.15.0
Vue version
3.x
Language
ES6
Build / Runtime
Vue CLI App
Browser(s)
No response
Steps to reproduce the behavior
No response
Expected behavior
No response
The text was updated successfully, but these errors were encountered: