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

[Annotations] Tooltip looks bad when visualizing long values with no spaces #2301

Closed
stratoula opened this issue Jan 15, 2024 · 1 comment
Closed
Labels
:annotation Annotation (line, rect, text) related issue bug Something isn't working :tooltip Related to hover tooltip

Comments

@stratoula
Copy link

stratoula commented Jan 15, 2024

Describe the issue
When you create an annotation and display in the tooltip a long value with no spaces, the annotations tooltip is being displayed badly. We can also see a scrollbar which is useless since the popover cannot be focused

image

To Reproduce
Steps to reproduce the behavior:
These are the steps to replicate in kibana

  1. Create a test index with a field with a long value (no spaces)
PUT my-tooltip-test/_doc
{
  "timestamp": "2024-01-02T14:09:19+00:00",
  "field": "value",
  "long_field": "test_test_test:12356733:1gergrere-gergergreger:gergergerger:/asdasd/meow/woofandmeow"
}
  1. Create a dataview
  2. Go to Lens
  3. Create an XY bar chart
  4. Add an annotation
  5. Set up the tooltip as
image 7. Hover over the chart and check the tooltip

Expected behaviour
I don't expect scrollbars, I expect the value to be nicely wrapped

Version (please complete the following information):

  • Browser: Chrome
  • Elastic Charts: 61.2.0 (it is also in prior versions as a user can replicate in kibana 8.11)
@stratoula stratoula added bug Something isn't working :annotation Annotation (line, rect, text) related issue :tooltip Related to hover tooltip labels Jan 15, 2024
@stratoula
Copy link
Author

I was wrong, the annotations tooltip is a custom one, the problem is in Lens elastic/kibana#174836

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
:annotation Annotation (line, rect, text) related issue bug Something isn't working :tooltip Related to hover tooltip
Projects
None yet
Development

No branches or pull requests

1 participant