Skip to content

Highlighter clip path interference with multiple instances #489

@markov00

Description

@markov00

Describe the bug
The clip path used for the highlighter is generated using an id, that is not unique when multiple chart are visualized on the same page.

To Reproduce
Steps to reproduce the behavior:

  1. Add two bar chart visualization, with different width/height sizes (one very small and another very big)
  2. Mouse over the chart and you will see a weird looking highlighter or no highlighter at all

Expected behavior
The highlighter clip path is relative to the chart is using it.

Screenshots
Screenshot 2019-12-09 at 12 23 05

Version (please complete the following information):

  • Elastic Charts: all

Additional context
n/a

Errors in browser console
n/a

Kibana Cross Issues
elastic/kibana#50513

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

Metadata

Metadata

Assignees

Labels

bugSomething isn't workingkibana cross issueHas a Kibana issue counterpartreleasedIssue released publicly

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions