David-Desmaisons/Vue.resize

child component used v-resize, when parent used in v-show, it not work

zsedcbm opened this issue · 4 comments

child component used v-resize

when parent used v-show, then child resize event is not work

when parent used v-if, then child resize event is work

4

https://codepen.io/zsedcbm/pen/erQomg

I see nothing wrong. Please define the expected behaviour and why it is not ok in case of v-show.

I feedback this problem to css-element-queries , which can also occur when use css-element-queries alone
marcj/css-element-queries#228

when i use v-show, child component's val is not change, is always 10
when i use v-if, child components's v-resize worked, val is changed

Corrected in version 1.1.0.