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

Bring back click events [fixes #173] #174

Merged
merged 3 commits into from Jan 11, 2016
Merged

Bring back click events [fixes #173] #174

merged 3 commits into from Jan 11, 2016

Conversation

etpinard
Copy link
Contributor

@alexcjohnson @mdtusz @cldougl

The lasso PR (#154) added a fx.unhover call which clear the hover data when drag box motions are initiated, which had the side effect of clearing the hover data for the click event emitter.

This PR moves the fx.unhover call to the onMove dragBox handler, bringing back click event.

That said, this has the side effect of making all drag boxes (e.g. select box, zoom box, colorbar, annotations and legend) clear hover upon drag.

- call fx.unhover only on lasso and select-box starts
@alexcjohnson
Copy link
Contributor

see #173 (comment) - there's a better way.

@alexcjohnson
Copy link
Contributor

💃

etpinard added a commit that referenced this pull request Jan 11, 2016
Bring back click events [fixes #173]
@etpinard etpinard merged commit b80de2e into master Jan 11, 2016
@etpinard etpinard deleted the fix-click branch January 11, 2016 22:23
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.

None yet

2 participants