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

Endpoint doesn't follow mouse pointer when scrolling #79

Open
MornMartin opened this issue Jun 12, 2022 · 8 comments
Open

Endpoint doesn't follow mouse pointer when scrolling #79

MornMartin opened this issue Jun 12, 2022 · 8 comments

Comments

@MornMartin
Copy link

Version:5.8.0
Description:

  • When i scroll document it works ok

scroll-html

  • When i scroll the container element (it is not docuemnt) it doesn't flow the mouse pointer

scroll-container

@sporritt
Copy link
Member

@MornMartin can you try this in 5.9.0?

@MornMartin
Copy link
Author

I tried in master branch (latestCommitId: accc57e), this issue remains.
In my case, i made some changes in file https://github.com/jsplumb/jsplumb/blob/master/demo/draggableConnectors/index.html.

  1. Modify the el's style as height: 300px;overflow: auto; whose className includes jtk-demo-main
  2. Decrease view height until the vertical scrollbar appears
  3. Drag a endpoint
  4. Scroll the mouse wheel

@MornMartin MornMartin changed the title Endpoint doesn't flow mouse pointer when scrolling Endpoint doesn't follow mouse pointer when scrolling Jul 12, 2022
@sporritt
Copy link
Member

thanks for checking. yes i can see how to reproduce the issue by hand but i'm interested in reproducing it in a unit test.

@wangjingithub
Copy link

how to deal with the question,thank you very much

@sporritt
Copy link
Member

this PR contains a fix

jsplumb/jsplumb#1139

but no unit tests. i'd really like first to isolate this with a failing unit test.

@MornMartin
Copy link
Author

How can it be merged ? Should i write unit tests ?

@jpech-tibco
Copy link

@sporritt @MornMartin is there any way to build packages from source?

@j4acks0n
Copy link

@sporritt @MornMartin is there any way to build packages from source?

Idk Im Not Sure Too,But I Think No,Only The Way Is you install it from cmd then paste it in your folder

@sporritt sporritt transferred this issue from jsplumb/jsplumb Oct 17, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants