jerosoler / Drawflow

Simple flow library 🖥️🖱️
https://jerosoler.github.io/Drawflow/
MIT License
4.64k stars 722 forks source link

I am creating a component for a node in vue and using modal and tooltip inside the node but it is not working. Are these not supported by drawflow? #291

Closed MaleehaYasvi closed 2 years ago

jerosoler commented 2 years ago

Hi

Please try to provide as much information as possible.

Vue2? Vue3?

In case it is vue 2 it is passing the parent instance with "this".

this.editor = new Drawflow(id, Vue, this);

Jero

MaleehaYasvi commented 2 years ago

it is vue 2 and yes, i am passing this in it

jerosoler commented 2 years ago

Provide more information to continue.

MaleehaYasvi commented 2 years ago

i have created a component ABC and i am calling that in drawflow.vue by using addNode() method. In ABC, i have a button and on its click, i want a modal to open. but it is not happening in ABC neither the tooltip is working

jerosoler commented 2 years ago

Can you show your component?

Are you using a third party library? In this case, how are you loading it?

MaleehaYasvi commented 2 years ago