Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

connection line issue #378

Closed
vinodjaunjalkar opened this issue Mar 24, 2022 · 6 comments
Closed

connection line issue #378

vinodjaunjalkar opened this issue Mar 24, 2022 · 6 comments
Assignees
Labels
question Further information is requested Style

Comments

@vinodjaunjalkar
Copy link

Hello jerosoler,

I am using your plugin and thank you for making such wonderful plugin.

I am facing small issue with connection line, when I drag any node to top or down the connection line leave his position from input (input_1) and same for output (output_1)

Please check my screenshot to get better idea of my query

Without drag top or down
without drag top or down effect

Drag top side
top-side drag effect

Drag down side
down-side drag effect

Please help me out for this issue.

@jerosoler jerosoler self-assigned this Mar 24, 2022
@jerosoler jerosoler added question Further information is requested Style labels Mar 24, 2022
@jerosoler
Copy link
Owner

Uhmm... It looks like a css problem.

Try disabling your css layer to rule out the problem.
Persiste el problema?

Another option:
If it only happens at the end, try the "nodeMoved" event
https://github.com/jerosoler/Drawflow#events

And force an update of the node with the method "updateConnectionNodes('node-5')"
https://github.com/jerosoler/Drawflow#methods

@vinodjaunjalkar
Copy link
Author

Hello jerosoler,,

Thank you for your reply and I tried to make changes as per your suggestions but was not fixed it.

Mentioned issue already exists in the default plugin but I don't know how to fix it.

When we move node extremally up or down then this issue arises.

Please check attached screenshot of default plugin.

extremally up
original-plugin-top

extremally down
original-plugin-down

@jerosoler
Copy link
Owner

The default view would be this:
image

This would be with the extra layer of the demo: (https://jerosoler.github.io/Drawflow/)
image

In both cases it behaves correctly.

What browser are you using, in this case I am using chrome with the version: 99.0.4844.51

@vinodjaunjalkar
Copy link
Author

Hi,

Thank you for your reply.

I am not facing the same issue in the Firefox browser however the issue is occurring in the chrome (Version 99.0.4844.82).

@jerosoler
Copy link
Owner

I have tried with the latest version of chrome.

Are you using Zoom in the browser?

Are you loading the latest version of the css?
The demo is not using the latest version of the css.

@vinodjaunjalkar
Copy link
Author

Hi,

I have modified the #drawflow css class and added zoom 80% and now its working perfectly.

Thanks for your support.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested Style
Projects
None yet
Development

No branches or pull requests

2 participants