Skip to content

Doesn't work as of Vue 2.6.14 #12

@FightRay

Description

@FightRay

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";

Vue.use(VueResizeObserver);

(works, no errors)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions