elastic / kibana

Your window into the Elastic Stack
https://www.elastic.co/products/kibana
Other
19.71k stars 8.13k forks source link

incorrect line breaks when filtering on fields #170312

Closed jan-elastic closed 9 months ago

jan-elastic commented 10 months ago

Versions Default deployment on cloud.elastic.co.

Describe the bug: When filtering the available fields by prefix, long field names are incorrectly truncated after the prefix, see screenshot

Steps to reproduce:

  1. Kibana
  2. Visualize Library
  3. Create visualization
  4. Lens
  5. Search field names -> enter prefix

Expected behavior: No line break after the highlighted prefix ("prom")

Screenshots (if relevant):

image kibana-lens-linebreaks
elasticmachine commented 10 months ago

Pinging @elastic/kibana-visualizations (Team:Visualizations)

elasticmachine commented 10 months ago

Pinging @elastic/kibana-data-discovery (Team:DataDiscovery)

stratoula commented 10 months ago

Lens shares the same sidebar with Discover so I am also adding the discovery team here.

stratoula commented 9 months ago

@mbondyra I can't replicate it in main. Possibly you fixed it with all the work you did?

kertal commented 9 months ago

@jan-elastic also can't reproduce, which version are you using and which browser? Thx!

stratoula commented 9 months ago

No @kertal we reproduced it with Marta unfortunately. This is from today's main

image
jan-elastic commented 9 months ago

Browser: Chrome Version: the default on Elastic Cloud (at that time)