jerosoler / Drawflow

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

connections and drag/drop broken on import #719

Closed ecielam closed 1 year ago

ecielam commented 1 year ago

I'm embedding Drawflow in a Rails 7 app using tailwindcss.

I'm using the base css/javascript and a theme from the theme builder. The only thing I had to change was add a min-height/min-width setting to #drawflow for it to even show up.

I import the same data from the demo, but I'm running into the following problems:

image

image

ecielam commented 1 year ago

Stripping everything down to complete bare bones, I had to add the following to the #drawflow selector:

  position: relative;
  text-align:initial;
  width: 100%;
  height: 800px;