nikitasnv / vue-resizable

VueResizable component
https://nikitasnv.github.io/vue-resizable/
MIT License
224 stars 46 forks source link

when two resizable component is inside each other. #22

Closed Nehasoni988 closed 3 years ago

Nehasoni988 commented 3 years ago

Hello @nikitasnv

I am using two vue-resizable inside each other which means I want to drag parent as well as child. The only problem I am facing is when I am dragging the child element the parent is also dragging. I have created the example- https://codesandbox.io/s/vue-template-forked-7kyi9?file=/src/App.vue

Is there any way that If a child is dragging up then the parent can not drag?

nikitasnv commented 3 years ago

@Nehasoni988 Fixed in 0954269.

Nehasoni988 commented 3 years ago

Hey @nikitasnv

This 2.0.2 version is not installing up, an error is occurring

See this- https://codesandbox.io/s/vue-template-forked-7kyi9?file=/package.json

nikitasnv commented 3 years ago

@Nehasoni988 check #19

Nehasoni988 commented 3 years ago

Ohh, it means the new version won't work in vue2?

nikitasnv commented 3 years ago

@Nehasoni988 fixed the cause of the error in vue version 2 in 7d124b9. You can use the latest version.