jerosoler / Drawflow

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

Panning wont work when outside the .drawflow class #199

Closed shidcordero closed 3 years ago

shidcordero commented 3 years ago

I've notice this issue when I'm fixing the fullscreen mode issue I reported earlier. So the issue was when I do pan outside the .drawflow, it wont let me. but doing it inside, it will let me do panning. I've check in the demo and it works fine. Any guess what I'm missing here?

image

jerosoler commented 3 years ago

uhmmm try changing class "mt-1 parent-drawflow" to "parent-drawflow mt-1".

jerosoler commented 3 years ago

Exists a PR for bug: https://github.com/jerosoler/Drawflow/pull/141

shidcordero commented 3 years ago

works great. thanks.