-
Notifications
You must be signed in to change notification settings - Fork 121
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
fix: show crosshairs for external pointer events #817
Conversation
Codecov Report
@@ Coverage Diff @@
## master #817 +/- ##
==========================================
+ Coverage 74.15% 74.59% +0.44%
==========================================
Files 273 288 +15
Lines 9379 9665 +286
Branches 2029 2072 +43
==========================================
+ Hits 6955 7210 +255
- Misses 2416 2441 +25
- Partials 8 14 +6
Flags with carried forward coverage won't be shown. Click here to find out more.
Continue to review full report at Codecov.
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
🎉 This PR is included in version 22.0.0 🎉 The release is available on: Your semantic-release bot 📦🚀 |
# [21.3.0](elastic/elastic-charts@v21.2.0...v21.3.0) (2020-09-16) ### Bug Fixes * legend dark mode hover color ([opensearch-project#820](elastic/elastic-charts#820)) ([d30c21f](elastic/elastic-charts@d30c21f)) ### Features * cancel brush/click event with escape key ([opensearch-project#819](elastic/elastic-charts#819)) ([5a9f21f](elastic/elastic-charts@5a9f21f)) * show crosshair for external pointer events ([opensearch-project#817](elastic/elastic-charts#817)) ([1721514](elastic/elastic-charts@1721514))
Summary
Fixes #816
Related to elastic/kibana#77306
If a
dispatchExternalPointerEvent
is used, the crosshairs now show for the respective pointer value.externalPointerEvents.tooltip.visible
now only controls the tooltip visibility.To disable crosshairs, don't use
dispatchExternalPointerEvent
at all.Checklist
src/index.ts
(and stories only import from../src
except for test data & storybook)