vue-draggable-resizable
vue-draggable-resizable copied to clipboard
Parent Resize feature sometimes not working
Hi.
I was testing out the component's features from the demo link.
Apparently, there is a bug with the parent resize feature. I tried to set the component's size to fit its parent's dimensions then resized the window. The component did not resize.
I have attached the screenshot below. I hope this will be fixed soon. I really loved the features of your component.

父级高度改变,子组件会溢出,我是这样解决的
if (document.createEvent) { setTimeout(() => { var event = document.createEvent('HTMLEvents') event.initEvent('resize', true, true) window.dispatchEvent(event) }, 100) } else if (document.createEventObject) { window.fireEvent('onresize') }
~~when parent resize call checkParentSize function~~