jerosoler / Drawflow

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

Misalign node connection after change in browser zoom #686

Closed vartakshreyas closed 1 year ago

vartakshreyas commented 1 year ago

Hi

I am using your package and i am getting proper support from your side to fullfill my requirements. Now i got stuck at one point, where connection alignments got mismatched with connection point when i reduce browser zoom.

Please look at attached picture where i set my browser zoom to 75%. I have gone through issues posted on github but didn't get any help. Is there any way that you can suggest to tackle this situation? Mystique

jerosoler commented 1 year ago

View:

Try by default, without extra style.

vartakshreyas commented 1 year ago

I have tried that solution but still i am facing same issue. At 80% its working fine but misaligned connection at 75%

jerosoler commented 1 year ago

Have you tried the blank example that appears in the previous issue?

In that case you get an error?

Have you tried deactivating all your css?

vartakshreyas commented 1 year ago

Hi..Thanks for proper suggetion. By removing css added by me and using package css resolved my issue.

I am using this package in angular so i have to added css file path in angular.json file to reflect package css.

Thanks @jerosoler to be there with proper guidance.