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

vis#4027: fix hover detection over nodes after hovering over an edge #22

Merged
merged 1 commit into from
Jul 27, 2019

Conversation

mojoaxel
Copy link
Member

@mojoaxel mojoaxel commented Jul 26, 2019

This is an original contribution from @Gelioalmende/vis#4027
This was also copies to visjs-netwoek: 
visjs-community/visjs-network#29

this is an addition to #21

partially fixes #7


When the mouse enters a node while hovering over an edge previously, the node hover event is not emitted.

Here are the screenshots of this unintended behavior. I have marked the mouse position with a black dot.
screenshot from 2018-07-05 17-00-12
screenshot from 2018-07-05 17-00-14

This PR fixes that issue. It has been also mentioned in almende/vis#3907, which this PR also fixes.


vis-pr-4027-before

@mojoaxel mojoaxel changed the title Fix detecting node hover after hovering an edge vis#4027: fix hover detection over nodes after hovering over an edge Jul 26, 2019
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

Successfully merging this pull request may close these issues.

3 participants