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

Crosshair works incorrectly after page scroll #123

Closed
2 tasks done
sulemanof opened this issue Mar 27, 2019 · 2 comments · Fixed by #128 or #1314
Closed
2 tasks done

Crosshair works incorrectly after page scroll #123

sulemanof opened this issue Mar 27, 2019 · 2 comments · Fixed by #128 or #1314
Assignees
Labels
bug Something isn't working :interactions Interactions related issue released Issue released publicly

Comments

@sulemanof
Copy link

sulemanof commented Mar 27, 2019

Describe the bug
Crosshair works incorrectly after page scroll. User unable to see a tooltip while hover on a chart point

To Reproduce
Steps to reproduce the behavior:

  1. Create any chart with data
  2. Hover on any point -> user is able to see a tooltip
  3. Scroll down a bit
  4. Hover on any point -> user can't see any tooltip
  5. Move the mouse down on the same tick -> in one moment the tooltip will appear as on point hover

Expected behavior
A page scroll shouldn't break the chart positioning

Screenshots
chart_scroll_issue

Version (please complete the following information):

  • OS: Windows 10
  • Browser: Chrome 73
  • Elastic Charts: 3.4.0

Additional context
n/a

Errors in browser console
n/a

Kibana Cross Issues
n/a

Checklist

  • every related Kibana issue is listed under Kibana Cross Issues list
  • kibana cross issue tag is associated to the issue if any kibana cross issue is present
@sulemanof sulemanof added the bug Something isn't working label Mar 27, 2019
@markov00 markov00 self-assigned this Mar 27, 2019
@markov00 markov00 added the :interactions Interactions related issue label Mar 27, 2019
@markov00 markov00 added this to the 7.1 milestone Mar 27, 2019
markov00 added a commit to markov00/elastic-charts that referenced this issue Mar 27, 2019
This commit correct the behaviour of using clientX and clientY instead of offsetX and offsetY. The
previous behavious used the synthetic position of the mouse cursor, this commit change it to use the
native event value that already take care of the border box.

fix elastic#123
markov00 added a commit that referenced this issue Mar 28, 2019
This commit correct the behaviour of using clientX and clientY instead of offsetX and offsetY. The
previous behavious used the synthetic position of the mouse cursor, this commit change it to use the
native event value that already take care of the border box.

fix #123
markov00 pushed a commit that referenced this issue Mar 28, 2019
## [3.4.4](v3.4.3...v3.4.4) (2019-03-28)

### Bug Fixes

* **crosshair:** use offsetX/Y instead of clientX/Y ([#128](#128)) ([7c1155f](7c1155f)), closes [#123](#123)
@markov00
Copy link
Member

🎉 This issue has been resolved in version 3.4.4 🎉

The release is available on:

Your semantic-release bot 📦🚀

@markov00 markov00 added the released Issue released publicly label Mar 28, 2019
@nickofthyme
Copy link
Collaborator

🎉 This issue has been resolved in version 34.1.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

AMoo-Miki pushed a commit to AMoo-Miki/OpenSearch-Dashboards that referenced this issue Feb 10, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working :interactions Interactions related issue released Issue released publicly
Projects
None yet
3 participants