Tried this today in my Vue 2.6.14 project on th elements and the resize event doesn't fire when resizing, while the width does visibly change.
Code is simple.
Blablabla
onResizeTableHead({width, height}) {
console.log(width, height); // Doesn't fire
}}
th {
width: 100px;
resize: horizontal;
}
Of course, the package is installed correctly.
In my entry point:
import VueResizeObserver from "vue-resize-observer";
Tried this today in my Vue 2.6.14 project on th elements and the resize event doesn't fire when resizing, while the width does visibly change. Code is simple.
onResizeTableHead({width, height}) { console.log(width, height); // Doesn't fire }}
th { width: 100px; resize: horizontal; }
Of course, the package is installed correctly. In my entry point:
import VueResizeObserver from "vue-resize-observer";
Vue.use(VueResizeObserver);
(works, no errors)